var guidEmpty = "00000000-0000-0000-0000-000000000000";
var PAGINATION_HEIGHT = 32; //分页控件高度
var app;
//Ajax 授权/认证失败后处理
$(function () {

    $(document).ajaxComplete(function (event, request, settings) {


        //if (request.status === 401) { //Unauthorized
        //    showMessage("您登录授权已经超时！", "error");

        //    var timeout = setTimeout(function () {
        //        window.location.href = "login.html";
        //    }, 2000);

        //}
        //if (request.status === 403) {
        //    showMessage("您没有此功能的访问权限！", "error");
        //}



    })

});
//获取表单内容
function getUrlParam(name) {
    var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象
    var r = window.location.search.substr(1).match(reg); //匹配目标参数
    if (r != null) return unescape(r[2]);
    return null; //返回参数值
}
//设置列表页面table高度：注册 20190613
function tablehigh(mythis) {
    setTableHigh(mythis);
    setPageHeight();
    window.onresize = function () {
        setTableHigh(mythis);
    }
}
//设置列表页面table高度 
//2019-6-13 13:27:44
function setTableHigh(mythis) {
    mythis.$nextTick(function () {
        var margin = 0;
        if ($("#app > .el-row:first-child").length > 0)
            margin = 8;
        mythis.ListItem.tableHeight = window.innerHeight -
            mythis.$refs.table.$el.offsetTop - PAGINATION_HEIGHT - margin;
    })

}

function setPageHeight() {
    var $ = window.top.$;
    var tabsContentH = $(".el-main").height() - 44; //el-tabs__header高度为41 外部el-main有padding 3  41+3=44
    $(".el-tabs").height($(".el-main").height()) //这里需要重新设置下 tabs整体高度，不知道为什么有些页面计算完莫名高出main div所以重新设置下tabs高度
    $(".el-tabs__content").height(tabsContentH)
    $(".el-tab-pane").height(tabsContentH);
}
//List页面公共属性
var ListItem = {
    //列表选择数组
    tableMultipleSelection: [],
    //分页
    pagesizes: [ 5, 10, 40],
    //分页控件显示内容
    layout: '  prev, pager, next,sizes,total',
    //一页数量
    pagesize: 10,
    //数据总量
    total: 0,
    //dialog src值
    InputUrl: '',
    //当前页码
    currentPage: 1,
    //dialog是否展示
    dialogVisible: false,
    //表格高度
    tableHeight: 200,
    //列表数据
    tableData: [],


}
//List删除方法
function onDelete(mythis, url) {
    if (mythis.ListItem.tableMultipleSelection.length == 0) {
        showMessage(msg.AtLeastOne, 'error')
        return;
    }

    mythis.$confirm(' 是否确认继续?', '提示', {
        confirmButtonText: '确定',
        cancelButtonText: '取消',
        type: 'warning'
    }).then(function () {
        //console.log(123)
        var delIds = [];
        for (var i = 0; i < mythis.ListItem.tableMultipleSelection.length; i++) {
            var item = mythis.ListItem.tableMultipleSelection[i];
            delIds.push(item.id);
        }
        myAjax("post", mythis, url, delIds, function (response) {
            mythis.GetPageData(1);
            mythis.ListItem.currentPage = 1;
            showMessage(msg.OperatingOk, "success");
        });
    }).catch(function () {
        showMessage("已取消删除!");
    });

}

//List删除方法)(没有分页的列表删除)
function onDeleteA(mythis, url) {
    if (mythis.ListItem.tableMultipleSelection.length == 0) {

        showMessage(msg.AtLeastOne, 'error')
        return;
    }
    mythis.$confirm(' 是否确认继续?', '提示', {
        confirmButtonText: '确定',
        cancelButtonText: '取消',
        type: 'warning'
    }).then(function () {
        var delIds = [];
        for (var i = 0; i < mythis.ListItem.tableMultipleSelection.length; i++) {
            var item = mythis.ListItem.tableMultipleSelection[i];
            delIds.push(item.id);
        }
        var temp = [];
        for (var i = 0; i < mythis.mydata.length; i++) {
            temp.push(mythis.mydata[i]);
        }
        for (var i = 0; i < temp.length; i++) {
            if (delIds.includes(temp[i].id)) {
                mythis.mydata.splice(i, 1);
            }
        }
        mythis.TreeTable = fn1(mythis.mydata, "0");
        showMessage(msg.OperatingOk, "success");

    }).catch(function () {
        showMessage("已取消删除!");
    });

}

//Dialog展示
function DialogShow(mythis, val, url, id, urlParam) {
    var urlParamStr = urlParam ? "&" + urlParam : "";
    if (val == 'tj') {
        mythis.ListItem.InputUrl = url + "?t=" + Date.parse(new Date()) + urlParamStr;
    } else {
        mythis.ListItem.InputUrl = url + "?id=" + id + "&t=" + Date.parse(new Date()) + urlParamStr;
    }
    mythis.ListItem.dialogVisible = true;
    //解决弹窗底下按钮显示不全
    setTimeout(function () {
        // alert($('.el-dialog__body').height())
        var bodyH = $('.el-dialog__body').height()
        $('.el-dialog__body').children('iframe').height(bodyH - 50)
        // alert($('.el-dialog__body').children('iframe').height())
    }, 100);
}
//Dialog展示--权限传值
function DialogPowerShow(mythis, val, url, id) {
    if (val == 'tj') {
        var powerid = "tj";
        mythis.ListItem.InputUrl = url + "?t=" + powerid;
    } else if (val == 'xg') {
        var powerid = "xg";
        mythis.ListItem.InputUrl = url + "?id=" + id + "&t=" + powerid;
    } else if (val == 'sh') {
        var powerid = "sh";
        mythis.ListItem.InputUrl = url + "?id=" + id + "&t=" + powerid;
        //var powerid = Date.parse(new Date());
    } else if (val == 'pz') {
        var powerid = "pz";
        mythis.ListItem.InputUrl = url + "?id=" + id + "&t=" + powerid;
    }
    mythis.ListItem.dialogVisible = true;
    //解决弹窗底下按钮显示不全
    setTimeout(function () {
        // alert($('.el-dialog__body').height())
        var bodyH = $('.el-dialog__body').height()
        $('.el-dialog__body').children('iframe').height(bodyH - 50)
        // alert($('.el-dialog__body').children('iframe').height())
    }, 100);
}

//帮助列表checkbox翻页记忆
function getRowKeys(row) {

    return row.id;
}

//List关闭Dialog 回调
function closeDialog() {

    app.ListItem.currentPage = 1;
    app.GetPageData(1);
}
//列表选择触发
function handleSelectionChange(mythis, val) {
    console.log(val)
    mythis.ListItem.tableMultipleSelection = val;
}
//获取分页数据
function GetPageData(mythis, currentIndex, url) {
    mythis.formInline.offset = (currentIndex - 1) * mythis.ListItem.pagesize;
    mythis.formInline.limit = mythis.ListItem.pagesize;
    var currObj = mythis;
    myAjax("post", mythis, url, mythis.formInline, function (response) {
        console.log(response);
        currObj.ListItem.tableData = response.data.pageData
        currObj.ListItem.total = response.data.rowCount;

    });

}
//单页数据--不支持分页
function GetOnePageData(mythis, currentIndex, url) {
    var currObj = mythis;
    myAjax("post", mythis, url, mythis.formInline, function (response) {
        console.log(response);
        currObj.ListItem.tableData = response.data.pageData
        currObj.ListItem.total = response.data.rowCount;

    });

}
//查询方法
function onSubmit(mythis) {
    mythis.ListItem.currentPage = 1;
    mythis.GetPageData(1);
}
//pagesize改变 触发方法
function handleSizeChange(mythis, val) {
    mythis.ListItem.pagesize = val;
    mythis.GetPageData(1);

}
//跳页触发方法
function handleCurrentChange(mythis, val) {
    mythis.ListItem.currentPage = val;
    mythis.GetPageData(val);
}
//input提交数据
function onSubmitForm(mythis, url, Form) {
    var mythis = mythis;
    myAjax("post", mythis, url, Form, function (response) {
        showMessage(msg.OperatingOk, 'success');
        parent.app.ListItem.dialogVisible = false;
    });
}

function onSubmitFormA(mythis, url, Form) {
    var mythis = mythis;
    myAjax("post", mythis, url, Form, function (response) {
        showMessage(msg.OperatingOk, 'success');
    });
}
//input提交数据--不弹窗
function onSubmitNoWindowsForm(mythis, url, Form) {
    var mythis = mythis;
    myAjax("post", mythis, url, Form, function (response) {
        showMessage(msg.OperatingOk, 'success');
        //parent.app.ListItem.dialogVisible = false;
    });
}
//input获取数据
function getData(mythis, url) {
    var mythis = mythis;
    if (mythis.id != null && mythis.id != '') {
        myAjax("get", mythis, url, null, function (response) {
            var ajaxModel = response.data;
            mythis.Form = ajaxModel;
            //mythis.userFrom.sex = mythis.userFrom.sex + "";
        }, false);
    }
}

function getDataAdd(mythis, url) {
    var mythis = mythis;
    myAjax("get", mythis, url, null, function (response) {
        var ajaxModel = response.data;
        mythis.Form = ajaxModel;
        //mythis.userFrom.sex = mythis.userFrom.sex + "";
    }, false);
}


function getDataRish(mythis, url) {
    var mythis = mythis;
    myAjax("getRish", mythis, url, null, function (response) {
        var ajaxModel = response.data;
        mythis.Form = ajaxModel;
        //mythis.userFrom.sex = mythis.userFrom.sex + "";
    }, false);
}

//字符串 数组format的方法
String.prototype.format = function (v) {
    v = typeof v === 'object' ? v : Array.prototype.slice.call(arguments);
    return this.replace(/\{\{|\}\}|\{(\w+)\}/g, function (m, n) {
        if (m == "{{") return "{";
        if (m == "}}") return "}";
        return v[n] == null ? "" : v[n];
    });
}

//顶级弹窗
function showMessage(message, type) {
    var topWin = window.top;
    if (type == null) {
        topWin.app.$message(message);
    }
    if (type == "error") {
        topWin.app.$message({
            type: 'error',
            message: message
        });
    }
    if (type == "success") {
        topWin.app.$message({
            type: 'success',
            message: message,
        });
    }



}
//判断Ajax业务是否处理成功
function isSuccess(ajaxModel) {
    return ajaxModel.result == "Success"
}
//Ajax请求
var host = "http://localhost:8080";

function myAjax(type, vueApp, url, data, succFun, isasync) {

    if (url.indexOf('upload') > -1) {
        Mock.mock(host + url, type, function (options) {
            return {
                result: "Success",
                message: '上传成功!',
                data: null
            };
        });
    }

    if (url.indexOf('export') > -1) {
        Mock.mock(host + url, type, function (options) {
            return {
                result: "Success",
                message: '导出成功!',
                data: null
            };
        });
    }

    if (url.indexOf('saveOk') > -1) {
        Mock.mock(host + url, type, function (options) {
            return {
                result: "Success",
                message: msg.saveOk,
                data: null
            };
        });
    }

    //需要处理url 正则分类
    if (url.indexOf('/api/User') > -1) {
        $System.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //风险管控信息数据库=>设备设施列表
    else if (url.indexOf('/api/EquipmenFacilities') > -1) {
        $EquipmenFacilities.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //风险管控信息数据库=>检维修作业活动列表
    else if (url.indexOf('/api/InspectionMaintenanceActivities') > -1) {
        $InspectionMaintenanceActivities.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //风险管控信息数据库=>操作程序列表
    else if (url.indexOf('/api/OperatingProcedures') > -1) {
        $OperatingProcedures.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //风险管控信息数据库=> 操作及相关作业活动列表
    else if (url.indexOf('/api/OperationRelatedActivities') > -1) {
        $OperationRelatedActivities.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //风险管控信息数据库=> 场所环境列表
    else if (url.indexOf('/api/PlaceEnvironment') > -1) {
        $PlaceEnvironment.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //风险管控信息数据库=> 工艺介质列表
    else if (url.indexOf('/api/ProcessMedium') > -1) {
        $ProcessMedium.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //风险管控信息数据库=> 风险类别管理列表
    else if (url.indexOf('/api/RiskCategoryManagement') > -1) {
        $RiskCategoryManagement.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //风险管控信息数据库=> 作业活动列表
    else if (url.indexOf('/api/WorkAtivities') > -1) {
        $WorkAtivities.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    } else if (url.indexOf('/api/WorkType') > -1) {
        $WorkType.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    } else if (url.indexOf('/api/HazardIdentification') > -1) {
        $HazardIdentification.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    } else if (url.indexOf('/api/PersonalSecurityProtection') > -1) {
        $PersonalSecurityProtection.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    } else if (url.indexOf('/api/PreworkSafety') > -1) {
        $PreworkSafetyMeasures.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    } else if (url.indexOf('/api/JobLicenseManagement') > -1) {
        $JobLicenseManagement.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    } else if (url.indexOf('/api/F_PreworkSafetyMeasures') > -1) {
        $F_PreworkSafetyMeasures.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    } else if (url.indexOf('/api/SpecialJobSelection') > -1) {

        $SpecialJobSelection.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //隐患管理=>隐患排查标准知识库=>操作与相关作业活动
    else if (url.indexOf('/api/OperationsAndActivities') > -1) {
        $OperationsAndActivities.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //隐患管理=>隐患排查标准知识库=>维修作业活动
    else if (url.indexOf('/api/RepairActivities') > -1) {
        $RepairActivities.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //隐患管理=>隐患排查标准知识库=>设备设施
    else if (url.indexOf('/api/EquipmentFacilities') > -1) {
        $EquipmentFacilities.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //隐患管理=>隐患排查标准知识库=>工艺介质
    else if (url.indexOf('/api/ProcessMedium') > -1) {
        $ProcessMedium.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //隐患管理=>隐患排查标准知识库=>场所环境
    else if (url.indexOf('/api/PlaceEnvironment') > -1) {
        $PlaceEnvironment.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //隐患管理=>隐患排查标准知识库=>基础管理类隐患排查
    else if (url.indexOf('/api/BasicInvestigateDatabase') > -1) {
        $BasicInvestigateDatabase.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //隐患管理=>隐患排查标准知识库=>排查项目
    else if (url.indexOf('/api/InvestigationItems') > -1) {
        $InvestigationItems.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //隐患管理=>隐患排查标准知识库=>排查内容和排查标准管理
    else if (url.indexOf('/api/ContentsAndStandards') > -1) {
        $ContentsAndStandards.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //隐患管理=>隐患等级管理
    else if (url.indexOf('/api/RiskLevel') > -1) {
        $RiskLevel.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //隐患管理=>隐患排查类型管理
    else if (url.indexOf('/api/RiskType') > -1) {
        $RiskType.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //隐患管理=>隐患排查类别管理
    else if (url.indexOf('/api/RiskCategory') > -1) {
        $RiskCategory.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //隐患管理=>隐患排查内容管理 
    else if (url.indexOf('/api/RiskContent') > -1) {
        $RiskContent.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    // //隐患管理=>隐患排查治理管理=>隐患整改
    else if (url.indexOf('/api/RiskRectification') > -1) {
        $RiskRectification.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //隐患管理=>隐患排查治理管理=>隐患验收
    else if (url.indexOf('/api/RiskAcceptance') > -1) {
        $RiskAcceptance.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //隐患管理=>隐患排查上报管理
    else if (url.indexOf('/api/RiskReport') > -1) {
        $RiskReport.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //隐患管理=>隐患排查上报管理=>非计划隐患上报
    else if (url.indexOf('/api/UnPlanReport') > -1) {
        $UnPlanReport.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //隐患管理=>隐患排查上报管理=>外部检查内容管理
    else if (url.indexOf('/api/ExternalInspection') > -1) {
        $ExternalInspection.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //隐患管理=>申请修改审批
    else if (url.indexOf('/api/ApplyModifyApproval') > -1) {
        $ApplyModifyApproval.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //隐患管理=>带班长审核
    else if (url.indexOf('/api/MonitorApproval') > -1) {
        $MonitorApproval.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //隐患管理=>重大隐患管理
    else if (url.indexOf('/api/MajorRiskDossier') > -1) {
        $MajorRiskDossier.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //隐患管理=>整改
    else if (url.indexOf('/api/Rectification') > -1) {
        $Rectification.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //隐患管理=>隐患记录
    else if (url.indexOf('/api/RiskRecordView') > -1) {
        $RiskRecordView.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //隐患管理=>隐患统计
    else if (url.indexOf('/api/RiskManageEchart') > -1) {
        $RiskManageEchart.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //隐患管理=>重复隐患统计
    else if (url.indexOf('/api/RepeatRiskPieChart') > -1) {
        $RepeatRiskPieChart.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //隐患管理=>隐患统计-按承包商统计
    else if (url.indexOf('/api/ContractorStatistics') > -1) {
        $ContractorStatistics.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //隐患管理=>隐患统计-隐患整改率统计
    else if (url.indexOf('/api/HiddenTroubleRectificationStatistics') > -1) {
        $HiddenTroubleRectificationStatistics.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //隐患管理=>隐患排查任务查看
    else if (url.indexOf('/api/RiskTask') > -1) {
        $RiskTask.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }

    //承包商名录
    else if (url.indexOf('/api/ContractorDirectoryManagement') > -1) {
        $ContractorDirectoryManagement.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    // //承包商名录黑名单
    // else if (url.indexOf('/api/ContractorDirectoryManagementBlack') > -1) {
    //     $ContractorDirectoryManagementBlack.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    // }
    //承包商名录黑名单
    else if (url.indexOf('/api/BlackContractorDirectoryManagement') > -1) {
        $BlackContractorDirectoryManagement.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //承包商承包商人员名录管理
    else if (url.indexOf('/api/ContractorPersonnelDirectory') > -1) {
        $ContractorPersonnelDirectory.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //承包商承包商人员名录管理 黑名单
    else if (url.indexOf('/api/BlackContractorPersonnelDirectoryManagement') > -1) {
        $BlackContractorPersonnelDirectoryManagement.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //承包商入场工具管理
    else if (url.indexOf('/api/ContractorAdmissionTool') > -1) {
        $ContractorAdmissionTool.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //培训课件类型管理
    else if (url.indexOf('/api/TrainingCoursewareType') > -1) {
        $TrainingCoursewareType.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //培训课件管理
    else if (url.indexOf('/api/TrainingCourseware') > -1) {
        $TrainingCourseware.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //培训记录管理
    else if (url.indexOf('/api/TrainingRecord') > -1) {
        $TrainingRecord.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //试题
    else if (url.indexOf('/api/TestQuestions') > -1) {
        $TestQuestions.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //考试记录
    else if (url.indexOf('/api/ExaminationRecord') > -1) {
        $ExaminationRecord.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //承包商违规台账
    else if (url.indexOf('/api/ContractorViolation') > -1) {
        $ContractorViolation.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //承包商违章次数统计
    else if (url.indexOf('/api/ViolationNumber') > -1) {
        $ViolationNumber.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //承包商安全工时统计
    else if (url.indexOf('/api/SafetyWorkingHours') > -1) {
        $SafetyWorkingHours.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //日常评估考核类型：
    else if (url.indexOf('/api/DailyAssessmentType') > -1) {

        $DailyAssessmentType.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //总体评估考核类型：
    else if (url.indexOf('/api/OverallAssessmentType') > -1) {
        $OverallAssessmentType.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    // 日常评估考核
    else if (url.indexOf('/api/DailyAssessment') > -1) {
        $DailyAssessment.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //总体评估考核
    else if (url.indexOf('/api/OverallAssessment') > -1) {
        $OverallAssessment.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }

    //总体评估考核
    else if (url.indexOf('/api/OverallAssessment') > -1) {
        $OverallAssessment.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //总体评估考核评分
    else if (url.indexOf('/api/Overall') > -1) {
        $OverallAssessmentScore.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }

    //承包商入场人员名单
    else if (url.indexOf('/api/ContractorAdmission') > -1) {
        $ContractorAdmission.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }


    // 安全检查管理
    else if (url.indexOf('/api/SafetyInspectionManagement') > -1) {
        $SafetyInspectionManagement.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //法律法规更新
    else if (url.indexOf('/api/LawRegulationsUpdate') > -1) {
        $LawRegulationsTable.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //法律法规导入
    else if (url.indexOf('/api/LawRegulationsInput') > -1) {
        $LawRegulationsTable.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //审核法律法规清单--LawRegulationsVerify
    else if (url.indexOf('/api/LawRegulationsVerify') > -1) {
        $LawRegulationsTable.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //法律法规历史清单--lawsRegulationsHistoryList
    else if (url.indexOf('/api/lawsRegulationsHistoryList') > -1) {
        $LawRegulationsTable.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //法律法规消息补录编辑页--LegalRegulatoryInformationSupplementinput
    else if (url.indexOf('/api/LegalRegulatoryInformationSupplementinput') > -1) {
        $LawRegulationsTable.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //法律法规消息补录页--LegalRegulatoryInformationSupplementList
    else if (url.indexOf('/api/LegalRegulatoryInformationSupplementList') > -1) {
        $LawRegulationsTable.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }

    //法律法规_合规性评价及符合性评审管理--ComplianceAssessmentManag
    else if (url.indexOf('/api/ComplianceAssessmentManag') > -1) {
        $LawRegulationsTable.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }

    //法律法规_管理制度--ManagementSystem
    else if (url.indexOf('/api/ManagementSystem') > -1) {
        $ManagementSystem.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }

    //法律法规_管理制度类别--ManageSystemCategory
    else if (url.indexOf('/api/ManageSystemCategory') > -1) {
        $LawRegulationsTable.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //法律法规_类别管理--CategoryManagementList
    else if (url.indexOf('/api/CategoryManagementList') > -1) {
        $LawRegulationsTable.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //法律法规部门--/api/BelongToClassChoose
    else if (url.indexOf('/api/BelongToClassChoose') > -1) {
        $BelongToClassChooseTable.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //法律法规清单管理
    else if (url.indexOf('/api/LawRegulationListAdministration') > -1) {
        $LawRegulationListTable.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }

    //运行情况综合信息板
    else if (url.indexOf('/api/OperationBoard') > -1) {
        $OperationBoardTable.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }

    //作业证类别
    else if (url.indexOf('/api/OperationTypeMaintain') > -1) {
        $OperationTypeMaintain.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //作业基本信息配置
    else if (url.indexOf('/api/BasicJobInformation') > -1) {
        $BasicJobInformation.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //JSA分析管理
    else if (url.indexOf('/api/JSPAnalyticalManagement') > -1) {
        $JSPAnalyticalManagement.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //安全作业方案管理
    else if (url.indexOf('/api/SafeOperationPlan') > -1) {
        $SafeOperationPlan.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //一般吊装作业安全许可证管理
    else if (url.indexOf('/api/GeneralLiftingWorkSafety') > -1) {
        $GeneralLiftingWorkSafety.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    } else if (url.indexOf('/api/ConfinedSpacemanagement') > -1) {
        $ConfinedSpacemanagement.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //教育_培训课件houts 2019-5-27 14:27:36
    else if (url.indexOf('/api/PPTAndWord') > -1) {
        $PPTAndWord.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }


    // 履职职责落实情况管理
    else if (url.indexOf('/api/DutiesAndResponsibilities') > -1) {
        $DutiesAndResponsibilities.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    // 行为安全观察与沟通频次管理
    else if (url.indexOf('/api/BehaviorSafetyCommunicationFrequency') > -1) {
        $BehaviorSafetyCommunicationFrequency.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    // STOP信息管理
    else if (url.indexOf('/api/STOPInformationManagement') > -1) {
        $STOPInformationManagement.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    // 个人安全行动计划管理
    else if (url.indexOf('/api/PersonSafePlanManagement') > -1) {
        $PersonSafePlanManagement.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    // 行为安全观察与沟通结果统计表
    else if (url.indexOf('/api/BehaviorSafetyObservation') > -1) {
        $BehaviorSafetyObservation.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //分类按部门进行统计
    else if (url.indexOf('/api/StatisticsbyDepartmentList') > -1) {
        $StatisticsbyDepartmentList.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //hse行动计划跟进表
    else if (url.indexOf('/api/HSEActionPlanFollowupTable') > -1) {
        $HSEActionPlanFollowupTable.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //安全检查管理
    else if (url.indexOf('/api/SafeCheckManagement') > -1) {
        $SafeCheckManagement.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //安全里程碑活动
    else if (url.indexOf('/api/SafetyMilestone') > -1) {
        $SafetyMilestone.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }


    //安全分委会组织架构
    else if (url.indexOf('/api/OrganizationalStructureSafety') > -1) {
        $OrganizationalStructureSafety.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //办公安全分委会积分考核
    else if (url.indexOf('/api/ScoreAssessmentOfficeSecurity') > -1) {
        $ScoreAssessmentOfficeSecurity.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //安全管理师培训
    else if (url.indexOf('/api/SafetyManagerTraining') > -1) {
        $SafetyManagerTraining.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //安委会会议纪要历史查询
    else if (url.indexOf('/api/HistoricalinquiriesonminutesofSecurityCommitteemeetings') > -1) {
        $HistoricalinquiriesonminutesofSecurityCommitteemeetings.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //员工信息管理
    else if (url.indexOf('/api/EmployeeInformationManagement') > -1) {
        $EmployeeInformationManagement.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //HSE管理目标编辑
    else if (url.indexOf('/api/HSEManagementgoalEdit') > -1) {

        $HSEManagementgoalEdit.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //安全经验分享库
    else if (url.indexOf('/api/SecurityExperienceSharingLibrary') > -1) {
        $SecurityExperienceSharingLibrary.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //产品MSDS数据库
    else if (url.indexOf('/api/ProductMSDSdatabase') > -1) {
        $ProductMSDSdatabase.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //MSDS数据库
    else if (url.indexOf('/api/MSDSdatabase') > -1) {
        $MSDSdatabase.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //工厂运营类HSE合规类证书库
    else if (url.indexOf('/api/HSEComplianceCertificateLibraryforFactoryOperations') > -1) {
        $HSEComplianceCertificateLibraryforFactoryOperations.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //我的培训课程
    else if (url.indexOf('/api/Addingtraininginformation') > -1) {
        $Addingtraininginformation.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //我的培训记录
    else if (url.indexOf('/api/Mytrainingrecord') > -1) {
        $Mytrainingrecord.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //待设培训计划员工
    else if (url.indexOf('/api/Stafftobetrained') > -1) {
        $Stafftobetrained.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //年度培训计划管理
    else if (url.indexOf('/api/AnnualTrainingPlanManagement') > -1) {
        $AnnualTrainingPlanManagement.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //课件管理
    else if (url.indexOf('/api/Coursewaremanagement') > -1) {
        $Coursewaremanagement.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //模拟考试
    else if (url.indexOf('/api/Mockexam') > -1) {
        $Mockexam.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //在线考试
    else if (url.indexOf('/api/HSEMockexam') > -1) {
        $HSEMockexam.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //学分完成情况统计
    else if (url.indexOf('/api/Creditcompletionstatistics') > -1) {
        $Creditcompletionstatistics.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //培训归档
    else if (url.indexOf('/api/TrainingArchive') > -1) {
        $TrainingArchive.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }

    //学时信息统计
    else if (url.indexOf('/api/HoursInformationStatistics') > -1) {
        $HoursInformationStatistics.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //考题错误率统计
    else if (url.indexOf('/api/ErrorRateStatisticsofExaminationQuestions') > -1) {
        $ErrorRateStatisticsofExaminationQuestions.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //人员培训参与率
    else if (url.indexOf('/api/Participationrateinpersonneltraining') > -1) {
        $Participationrateinpersonneltraining.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //人员培训参与率
    else if (url.indexOf('/api/Participationrateinpersonneltraining') > -1) {
        $Participationrateinpersonneltraining.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    // //培训成绩
    // else if (url.indexOf('/api/TrainingAchievements') > -1) {
    //     $TrainingAchievements.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    // }
    //培训成绩
    else if (url.indexOf('/api/Trainingscore') > -1) {
        $Trainingscore.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //培训计划完成情况
    else if (url.indexOf('/api/Completionoftrainingplan') > -1) {
        $Completionoftrainingplan.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //人员证书资质管理
    else if (url.indexOf('/api/PersonnelCertificateQualificationManagement') > -1) {
        $PersonnelCertificateQualificationManagement.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //实际操作考核评分
    else if (url.indexOf('/api/PracticalOperationalAssessmentScore') > -1) {
        $PracticalOperationalAssessmentScore.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //考试监控
    else if (url.indexOf('/api/Examinationmonitoring') > -1) {
        $Examinationmonitoring.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //模拟考试
    else if (url.indexOf('/api/Mockexam') > -1) {
        $Mockexam.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //在线考试
    else if (url.indexOf('/api/EducationExamination') > -1) {
        $EducationExamination.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //学习列表
    else if (url.indexOf('/api/LearningList') > -1) {
        $LearningList.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //在线学习
    else if (url.indexOf('/api/OnlineLearning') > -1) {
        $OnlineLearning.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //培训计划管理
    else if (url.indexOf('/api/TrainingPlanManagement') > -1) {
        $TrainingPlanManagement.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }

    //签到管理
    else if (url.indexOf('/api/SignInManagement') > -1) {
        $SignInManagement.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }

    //我的培训
    else if (url.indexOf('/api/Mytraining') > -1) {
        $Mytraining.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //培训档案
    else if (url.indexOf('/api/TrainingAchievements') > -1) {
        $TrainingAchievements.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //试题管理
    else if (url.indexOf('/api/QuestionManagement') > -1) {
        $QuestionManagement.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //培训课程管理
    else if (url.indexOf('/api/TrainingCourseManagement') > -1) {
        $TrainingCourseManagement.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //培训需求矩阵管理
    else if (url.indexOf('/api/TrainingDemandMatrixManagement') > -1) {
        $TrainingDemandMatrixManagement.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }





















    //现场安全风险管控相关信息示意图
    else if (url.indexOf('/api/Map') > -1) {
        $Map.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }

    //法律法规信息提醒
    else if (url.indexOf('/api/InfoRemind') > -1) {
        $InfoRemind.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //法律法规标准规范--LawRegulationStandardSpecification
    else if (url.indexOf('/api/LawRegulationStandardSpecification') > -1) {
        $LawRegulationStandardSpecification.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //法律法规合规性评价报告管理
    else if (url.indexOf('/api/LawRegulationsFitAdministration') > -1) {
        $LawRegulationsFitAdministration.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //钢丝绳和吊钩检查表
    else if (url.indexOf('/api/WireRopeAndHookCheck') > -1) {
        $WireRopeAndHookCheck.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //机械移动式起重机外观检查表
    else if (url.indexOf('/api/MechanicalMobileCraneAppearanceCheck') > -1) {
        $MechanicalMobileCraneAppearanceCheck.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    ///一般吊装作业方案检查表
    else if (url.indexOf('/api/WorkPlanChecklist') > -1) {
        $WorkPlanChecklist.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    } //简易吊装作业安全许可证管理
    else if (url.indexOf('/api/SimpleLiftingOperation') > -1) {
        $SimpleLiftingOperation.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //动火作业安全许可证管理
    else if (url.indexOf('/api/HotWorkSafetyLicense') > -1) {
        $HotWorkSafetyLicense.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //动土作业安全许可证管理
    else if (url.indexOf('/api/EarthmovingWorkSafetyPermit') > -1) {
        $EarthmovingWorkSafetyPermit.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //断路作业安全许可证
    else if (url.indexOf('/api/OpenCircuitSafetyPermit') > -1) {
        $OpenCircuitSafetyPermit.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //高处作业安全许可证管理
    else if (url.indexOf('/api/HighWorkSafetyPermit') > -1) {
        $HighWorkSafetyPermit.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //脚手架检查表
    else if (url.indexOf('/api/ScaffoldingChecklist') > -1) {
        $ScaffoldingChecklist.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //管线打开作业安全许可证管理
    else if (url.indexOf('/api/PipelineOpenOperationSafetyLicense') > -1) {
        $PipelineOpenOperationSafetyLicense.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //临时用电作业安全许可证
    else if (url.indexOf('/api/TemporaryOperationSafetyLicense') > -1) {
        $TemporaryOperationSafetyLicense.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //气体检测管理
    else if (url.indexOf('/api/GasDetectionManagement') > -1) {
        $GasDetectionManagement.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //教育_试题管理wangjy 2019-6-12 14:11:36
    else if (url.indexOf('/api/Questions') > -1) {
        $Questions.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //JobSafetyAnalysis
    else if (url.indexOf('/api/JobLicenseApp') > -1) {
        $JobSafetyAnalysisList.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //安全交底和风险告知确认卡
    else if (url.indexOf('/api/SecurityAndRiskConfirmationCard') > -1) {
        $SecurityAndRiskConfirmationCard.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //一般吊装作业安全许可证--GeneralLiftingWorkDetailed
    else if (url.indexOf('/api/GeneralLiftingWorkDetailed') > -1) {
        $GeneralLiftingWorkDetailed.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //盲板抽堵作业安全许可证管理
    else if (url.indexOf('/api/BlindPlatePumpingSafety') > -1) {
        $BlindPlatePumpingSafety.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //盲板信息管理
    else if (url.indexOf('/api/BlindBoardInformation') > -1) {
        $BlindBoardInformation.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //隔离盲板动态管理状态记录表
    else if (url.indexOf('/api/IsolationBlindTable') > -1) {
        $IsolationBlindTable.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //受限空间作业安全许可证管理
    else if (url.indexOf('/api/ConfinedSpaceWorkSafety') > -1) {
        $ConfinedSpaceWorkSafety.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //特种作业安全教育培训记录
    else if (url.indexOf('/api/SpecialOperationSafetyEducation') > -1) {
        $SpecialOperationSafetyEducation.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //作业票证取消
    else if (url.indexOf('/api/JobPermitCancellation') > -1) {
        $JobPermitCancellation.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //上签
    else if (url.indexOf('/api/LockedCheck') > -1) {
        $LockedCheck.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }


    //简易吊装作业安全许可证审批--EasyHoistingHomeworkSafeLicence
    else if (url.indexOf('/api/EasyHoistingHomeworkSafeLicence') > -1) {
        $EasyHomeworkList.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }

    //作业许可证审批
    else if (url.indexOf('/api/XKZ_JobLicenseApproval') > -1) {
        $JobLicenseApproval.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //=====================审批部分，由下向上190619=====================
    //受限空间作业安全许可证审批
    else if (url.indexOf('/api/ConfinedSpace') > -1) {
        $ConfinedSpace.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //盲板抽堵作业安全许可证审批
    else if (url.indexOf('/api/BlindPlateDrainage') > -1) {
        $BlindPlateDrainage.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //管线打开作业安全许可证审批
    else if (url.indexOf('/api/PipelineOpenJob') > -1) {
        $PipelineOpenJob.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //临电作业安全许可证审批
    else if (url.indexOf('/api/TemporaryElectricityJob') > -1) {
        $TemporaryElectricityJob.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //高处作业安全许可证审批
    else if (url.indexOf('/api/HighTask') > -1) {
        $HighTask.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //断路作业安全许可证审批
    else if (url.indexOf('/api/BrokenCircuit') > -1) {
        $BrokenCircuit.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //动土作业安全许可证审批
    else if (url.indexOf('/api/EarthmovingTask') > -1) {
        $EarthmovingTask.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //岗位安全考核模板设置
    else if (url.indexOf('/api/PostSafeAssessmentTemplate') > -1) {
        $PostSafeAssessmentTemplateList.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //岗位安全职责考核管理
    else if (url.indexOf('/api/PostSafeResponsibilityExamineManager') > -1) {
        $PostSafeResponsibilityExamineManager.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //=====================审批部分，由下向上=====================

    //System-菜单
    else if (url.indexOf('/api/SysMenu') > -1) {
        $SysMenu.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //System-部门
    else if (url.indexOf('/api/SysDepartment') > -1) {
        $SysDepartment.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }
    //System-字典
    else if (url.indexOf('/api/SysDict') > -1) {
        $SysDict.DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    } else {
        DealUrl(vueApp, url.split('?')[0], type, url.split('?').length > 1 ? url.split('?')[1] : null);
    }


    if (isasync != false) {
        isasync = true;
    }
    var obj = {}
    if (data == null) {
        obj = {
            type: type,
            dataType: "json",
            contentType: 'application/json;charset=utf-8',
            async: isasync,
            url: host + url,
            success: function (response) {
                console.log(response)
                if (isSuccess(response)) {

                    if (succFun)
                        succFun(response);
                } else {
                    showMessage(response.message, 'error')

                }

            },
            xhrFields: {
                withCredentials: true // 此字段标识要跨域传数据
            },
            crossDomain: true
        };

    } else {

        obj = {
            type: type,
            dataType: "json",
            contentType: 'application/json;charset=utf-8',
            async: isasync,
            url: host + url,
            data: JSON.stringify(data),
            success: function (response) {
                console.log(response)
                if (isSuccess(response)) {

                    if (succFun)
                        succFun(response);
                } else {
                    showMessage(response.message, 'error')
                }

            },
            xhrFields: {
                withCredentials: true // 此字段标识要跨域传数据
            },
            crossDomain: true
        };
    }
    $.ajax(obj);
};

////模拟Ajax请求处理（Mock）
function DealUrl(vueApp, url, type, param) {

    var my = vueApp;

    switch (url) {
        //获取菜单

        case '/api/Index/IndexData':
            Mock.mock(host + url, type, {
                "result": "Success",
                "message": null,
                "data": {
                    name: "拱杨希",
                    menuData: [

                        //    {
                        //    "parentId": "00000000-0000-0000-0000-000000000000",
                        //    "serialNumber": 0,
                        //    "name": "顶级菜单",
                        //    "code": "Department",
                        //    "url": null,
                        //    "type": 0,
                        //    "icon": "fa fa-link",
                        //    "remarks": null,
                        //    "id": "00000000-0000-0000-0000-000000000000"
                        //},

                        //{
                        //    "parentId": "00000000-0000-0000-0000-000000000000",
                        //    "serialNumber": 4,
                        //    "name": "Demo",
                        //    "code": "27afe4d9-9377-4f38-93ba-b3fde90ed0cf",
                        //    "url": "",
                        //    "type": 0,
                        //    "icon": "el-icon-s-needTitle0",
                        //    "remarks": null,
                        //    "id": "27afe4d9-9377-4f38-93ba-b3fde90ed0cf"
                        //    },

                        //法律法规
                        {
                            "parentId": "00000000-0000-0000-0000-000000000000",
                            "serialNumber": 4,
                            "name": "法律法规/管理制度",
                            "code": "law1",
                            "url": "",
                            "type": 0,
                            "icon": "el-icon-s-needTitle0", //6
                            "remarks": null,
                            "id": "1a2b3c4d-1a2b-1234-56ab-1a2b3c4d5e61"
                        },


                        //隐患管理
                        {
                            "parentId": "00000000-0000-0000-0000-000000000000",
                            "serialNumber": 0,
                            "name": "隐患管理",
                            "code": "3AEFB144-F677-45B3-90E2-E4D507003A00",
                            "url": null,
                            "type": 0,
                            "icon": "el-icon-s-needTitle1", //7
                            "remarks": null,
                            "id": "3aefb144-f677-45b3-90e2-e4d507003a00"
                        },



                        //作业许可证管理
                        {
                            "parentId": "00000000-0000-0000-0000-000000000000",
                            "serialNumber": 4,
                            "name": "作业安全管理",
                            "code": "58b88482-357d-4bf1-9675-8f725eaf7cf9",
                            "url": "",
                            "type": 0,
                            "icon": "el-icon-s-needTitle2", //4
                            "remarks": null,
                            "id": "58b88482-357d-4bf1-9675-8f725eaf7cf9"
                        },

                        {
                            "parentId": "00000000-0000-0000-0000-000000000000",
                            "serialNumber": 4,
                            "name": "培训管理",
                            "code": "4b94cf43-8fe2-4786-35ce-08d6bedd55jy",
                            "url": "",
                            "type": 0,
                            "icon": "el-icon-s-needTitle3", //3
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-35ce-08d6bedd55jy"
                        },

                        {
                            "parentId": "00000000-0000-0000-0000-000000000000",
                            "serialNumber": 0,
                            "name": "承包商管理",
                            "code": "3AEFB144-F677-45B3-90E2-E4D50776A656",
                            "url": null,
                            "type": 0,
                            "icon": "el-icon-s-needTitle4", //5
                            "remarks": null,
                            "id": "3aefb144-f677-45b3-90e2-e4d50776a656"
                        },


                        {
                            "parentId": "00000000-0000-0000-0000-000000000000",
                            "serialNumber": 4,
                            "name": "机构与职责",
                            "code": "test1",
                            "url": "",
                            "type": 0,
                            "icon": "el-icon-s-needTitle5", //1
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-35ce-08d6bedd5512"
                        },


                        {
                            "parentId": "00000000-0000-0000-0000-000000000000",
                            "serialNumber": 4,
                            "name": "总部HSE办公管理",
                            "code": "test1",
                            "url": "",
                            "type": 0,
                            "icon": "el-icon-s-needTitle6", //2
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-35ce-08d6bdvc4512"
                        },


                        {
                            "parentId": "00000000-0000-0000-0000-000000000000",
                            "serialNumber": 0,
                            "name": "风险管控信息数据库",
                            "code": "aa1de96e-f768-4b7d-8091-8eaf46ac756b",
                            "url": null,
                            "type": 0,
                            "icon": "el-icon-s-needTitle7", //4
                            "remarks": null,
                            "id": "aa1de96e-f768-4b7d-8091-8eaf46ac756b"
                        },


                        //现场安全风险管控相关信息示意图
                        {
                            "parentId": "00000000-0000-0000-0000-000000000000",
                            "serialNumber": 0,
                            "name": "现场安全风险管控相关信息示意图",
                            "code": "12913f0f-3c3f-4ceb-8ba5-99ab264ed3e1",
                            "url": "",
                            "type": 0,
                            "icon": "el-icon-s-needTitle8", //5
                            "remarks": null,
                            "id": "12913f0f-3c3f-4ceb-8ba5-99ab264ed3e1"
                        },




                        //系统管理
                        {
                            "parentId": "00000000-0000-0000-0000-000000000000",
                            "serialNumber": 4,
                            "name": "系统管理",
                            "code": "515cddb8-981e-43b2-b401-04ec961a0be4",
                            "url": "",
                            "type": 0,
                            "icon": "el-icon-s-needTitle9", //9
                            "remarks": null,
                            "id": "515cddb8-981e-43b2-b401-04ec961a0be4"
                        },



                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08d6bedd55jy",
                            "serialNumber": 1,
                            "name": "培训课程管理",
                            "code": "pxkcgl",
                            "url": "Education/TrainingCourseManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-541q-08jdhedd5512"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08d6bedd55jy",
                            "serialNumber": 2,
                            "name": "培训需求矩阵管理",
                            "code": "pxxqjzgl",
                            "url": "Education/TrainingDemandMatrixManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-36ce-08jdhedd5512"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08d6bedd55jy",
                            "serialNumber": 3,
                            "name": "试题管理",
                            "code": "stgl",
                            "url": "Education/QuestionManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-145w-4786-541q-08jdhedd5512"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08d6bedd55jy",
                            "serialNumber": 4,
                            "name": "培训管理",
                            "code": "px",
                            "url": "",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-145w-1203-541q-08jdhedd5512"
                        },
                        {
                            "parentId": "4b94cf43-145w-1203-541q-08jdhedd5512",
                            "serialNumber": 4,
                            "name": "培训计划管理",
                            "code": "pxjhgl",
                            "url": "Education/TrainingPlanManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-145w-2014-541q-08jdhedd5512"
                        },

                        {
                            "parentId": "4b94cf43-145w-1203-541q-08jdhedd5512",
                            "serialNumber": 5,
                            "name": "签到管理",
                            "code": "qdgl",
                            "url": "Education/SignInManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-145w-2014-541q-08jdheddqdgl"
                        },

                        {
                            "parentId": "4b94cf43-145w-1203-541q-08jdhedd5512",
                            "serialNumber": 6,
                            "name": "培训成绩单",
                            "code": "pxcjd",
                            "url": "Education/TrainingTranscriptList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-145w-2014-541q-08jdhedpxcjd"
                        },


                        {
                            "parentId": "4b94cf43-145w-1203-541q-08jdhedd5512",
                            "serialNumber": 5,
                            "name": "我的培训",
                            "code": "wdpx",
                            "url": "Education/MytrainingList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-145w-0000-541q-08jdhedd5512"
                        },
                        {
                            "parentId": "4b94cf43-145w-1203-541q-08jdhedd5512",
                            "serialNumber": 6,
                            "name": "培训档案",
                            "code": "pxda",
                            "url": "Education/TrainingArchivesList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-145w-1111-541q-08jdhedd5512"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08d6bedd55jy",
                            "serialNumber": 7,
                            "name": "在线学习",
                            "code": "zxxx",
                            "url": "",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94sha1-145w-1203-541q-08jdhedd5512"
                        },
                        {
                            "parentId": "4b94sha1-145w-1203-541q-08jdhedd5512",
                            "serialNumber": 7,
                            "name": "学习列表",
                            "code": "xxlb",
                            "url": "Education/LearningListList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94sha1-1111-1203-541q-08jdhedd5512"
                        },
                        {
                            "parentId": "4b94sha1-145w-1203-541q-08jdhedd5512",
                            "serialNumber": 8,
                            "name": "在线学习",
                            "code": "zxxx",
                            "url": "Education/OnlineLearningList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94sha1-2222-1203-541q-08jdhedd5512"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08d6bedd55jy",
                            "serialNumber": 9,
                            "name": "考试管理",
                            "code": "ksgl",
                            "url": "",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94sha1-145w-1203-4562-08jdhedd5512"
                        },
                        //{
                        //    "parentId": "4b94sha1-145w-1203-4562-08jdhedd5512",
                        //    "serialNumber": 4,
                        //    "name": "在线考试",
                        //    "code": "zxks3",
                        //    "url": "",
                        //    "type": 0,
                        //    "icon": "fa fa-link",
                        //    "remarks": null,
                        //    "id": "4b94sha1-3250-1203-4562-08jdhedd5512"
                        //},
                        {
                            "parentId": "4b94sha1-145w-1203-4562-08jdhedd5512",
                            "serialNumber": 9,
                            "name": "模拟考试",
                            "code": "mnks",
                            "url": "Education/MockexamList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94sha1-3250-1021-4562-08jdhedd5512"
                        },
                        {
                            "parentId": "4b94sha1-145w-1203-4562-08jdhedd5512",
                            "serialNumber": 9,
                            "name": "在线考试",
                            "code": "zxks4",
                            "url": "Education/OnlineExaminationList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94sha1-2088-1021-4562-08jdhedd5512"
                        },
                        {
                            "parentId": "4b94sha1-145w-1203-4562-08jdhedd5512",
                            "serialNumber": 9,
                            "name": "线下考试",
                            "code": "sjczkhdf",
                            "url": "Education/PracticalOperationalAssessmentScoreList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94sha1-1230-1203-4562-08jdhedd5512"
                        },
                        {
                            "parentId": "4b94sha1-145w-1203-4562-08jdhedd5512",
                            "serialNumber": 9,
                            "name": "考试监控",
                            "code": "ksjk",
                            "url": "Education/ExaminationmonitoringList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94sha1-2564-1203-4562-08jdhedd5512"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08d6bedd55jy",
                            "serialNumber": 10,
                            "name": "人员证书资质管理",
                            "code": "ryzszzgl",
                            "url": "Education/PersonnelCertificateQualificationManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94sha1-145w-2000-4562-08jdhedd5512"
                        },
                        // {
                        //     "parentId": "4b94sha1-145w-2000-4562-08jdhedd5512",
                        //     "serialNumber": 10,
                        //     "name": "证件照片",
                        //     "code": "zjzp",
                        //     "url": "Education/PersonnelCertificateQualificationManagementlistPerson.html",
                        //     "type": 0,
                        //     "icon": "fa fa-link",
                        //     "remarks": null,
                        //     "id": "4b94sha1-145w-2017-4562-08jdhedd5512"
                        // },
                        // {
                        //     "parentId": "4b94sha1-145w-2000-4562-08jdhedd5512",
                        //     "serialNumber": 10,
                        //     "name": "人员证书资质管理",
                        //     "code": "ryzszzgl",
                        //     "url": "Education/PersonnelCertificateQualificationManagementList.html",
                        //     "type": 0,
                        //     "icon": "fa fa-link",
                        //     "remarks": null,
                        //     "id": "4b94sha1-145w-2856-4562-08jdhedd5512"
                        // },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08d6bedd55jy",
                            "serialNumber": 11,
                            "name": "教育培训统计",
                            "code": "jybpxtj",
                            "url": "",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94sha1-145q-2000-4562-08jdhedd5512"
                        },
                        {
                            "parentId": "4b94sha1-145q-2000-4562-08jdhedd5512",
                            "serialNumber": 11,
                            "name": "考题错误率统计",
                            "code": "ktcwltj",
                            "url": "Education/ErrorRateStatisticsofExaminationQuestionsList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94sha1-145q-2000-4123-08jdhedd5512"
                        },
                        {
                            "parentId": "4b94sha1-145q-2000-4562-08jdhedd5512",
                            "serialNumber": 11,
                            "name": "人员培训参与率",
                            "code": "rypxcyl",
                            "url": "Education/ParticipationrateinpersonneltrainingList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94sha1-145q-1111-4123-08jdhedd5512"
                        },
                        {
                            "parentId": "4b94sha1-145q-2000-4562-08jdhedd5512",
                            "serialNumber": 11,
                            "name": "培训成绩",
                            "code": "pxcj",
                            "url": "Education/TrainingAchievementsList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94sha1-2222-1111-4123-08jdhedd5512"
                        },
                        {
                            "parentId": "4b94sha1-145q-2000-4562-08jdhedd5512",
                            "serialNumber": 11,
                            "name": "培训计划完成情况",
                            "code": "pxcjwcqk",
                            "url": "Education/CompletionoftrainingplanList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94sha1-2222-1122-4123-08jdhedd5512"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08d6bedd55jy",
                            "serialNumber": 11,
                            "name": "学时信息统计",
                            "code": "xsxxtj",
                            "url": "Education/HoursInformationStatisticsList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94sha1-145q-1000-4562-08jdhedd5512"
                        },
                        // {
                        //     "parentId": "4b94cf43-8fe2-4786-35ce-08d6bedd55jy",
                        //     "serialNumber": 4,
                        //     "name": "培训课件",
                        //     "code": "4b94cf43-8fe2-4786-36ce-08d6bedd5512",
                        //     "url": "Education/PPTAndWordList.html",
                        //     "type": 0,
                        //     "icon": "fa fa-link",
                        //     "remarks": null,
                        //     "id": "4b94cf43-8fe2-4786-36ce-08d6bedd5512"
                        // },
                        // //培训管理_试题管理
                        // {
                        //     "parentId": "4b94cf43-8fe2-4786-35ce-08d6bedd55jy",
                        //     "serialNumber": 4,
                        //     "name": "试题管理",
                        //     "code": "4b94cf43-8fe2-4786-36ce-08d6bedd5512",
                        //     "url": "Education/QuestionsList.html",
                        //     "type": 0,
                        //     "icon": "fa fa-link",
                        //     "remarks": null,
                        //     "id": "4b94cf43-8fe2-4786-36ce-08d6bedd5552"
                        // },





                        {
                            "parentId": "27afe4d9-9377-4f38-93ba-b3fde90ed0cf",
                            "serialNumber": 4,
                            "name": "标准页面",
                            "code": "4b94cf43-8fe2-4786-35ce-08d6bedd5511",
                            "url": "test/demo/demo5.17.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-35ce-08d6bedd5511"
                        },
                        {
                            "parentId": "27afe4d9-9377-4f38-93ba-b3fde90ed0cf",
                            "serialNumber": 5,
                            "name": "echarts",
                            "code": "3c4cddf3-0540-4761-a7db-08d6c16c9da4",
                            "url": "test/echarts.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-35ce-08d6bedd5522"
                        }, {
                            "parentId": "27afe4d9-9377-4f38-93ba-b3fde90ed0cf",
                            "serialNumber": 6,
                            "name": "ueditor",
                            "code": "Menu_Index1",
                            "url": "test/ueditor.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "3c4cddf3-0540-4761-a7db-08d6c16c9da1"
                        }, {
                            "parentId": "27afe4d9-9377-4f38-93ba-b3fde90ed0cf",
                            "serialNumber": 7,
                            "name": "文件上传",
                            "code": "Menu_Index2",
                            "url": "test/fileupload.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "3c4cddf3-0540-4761-a7db-08d6c16c9da2"
                        }, {
                            "parentId": "27afe4d9-9377-4f38-93ba-b3fde90ed0cf",
                            "serialNumber": 7,
                            "name": "树",
                            "code": "Menu_Index3",
                            "url": "test/tree.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "3c4cddf3-0540-4761-a7db-08d6c16c9da3"
                        }, {
                            "parentId": "27afe4d9-9377-4f38-93ba-b3fde90ed0cf",
                            "serialNumber": 7,
                            "name": "下拉树",
                            "code": "Menu_Index4",
                            "url": "test/downtree.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "3c4cddf3-0540-4761-a7db-08d6c16c9da4"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08d6bedd5512",
                            "serialNumber": 4,
                            "name": "stop安全观察沟通管理",
                            "code": "teswwt23",
                            "url": "OrganisationAndResponsibilities/DutiesAndResponsibilitiesList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-35ce-0845de85sccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-0845de85sccc",
                            "serialNumber": 4,
                            "name": "行为安全观察与沟通频次管理",
                            "code": "test2ss13",
                            "url": "OrganisationAndResponsibilities/BehaviorSafetyCommunicationFrequencyList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-35ce-088dvsadsccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-0845de85sccc",
                            "serialNumber": 4,
                            "name": "STOP信息管理",
                            "code": "test2s13",
                            "url": "OrganisationAndResponsibilities/STOPInfo/STOPInformationManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-35ce-084dvsadsccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-0845de85sccc",
                            "serialNumber": 4,
                            "name": "统计页面",
                            "code": "test2s3",
                            "url": "",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-35ce-08452sadsccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08452sadsccc",
                            "serialNumber": 4,
                            "name": "行为安全观察与沟通结果统计表",
                            "code": "tests3",
                            "url": "OrganisationAndResponsibilities/BehaviorSafetyObservationList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-35ce-08445sadsccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08452sadsccc",
                            "serialNumber": 4,
                            "name": "分类按部门进行统计",
                            "code": "testss3",
                            "url": "OrganisationAndResponsibilities/StatisticsbyDepartmentList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-35ce-084485ddsccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08d6bedd5512",
                            "serialNumber": 4,
                            "name": "履职职责落实情况",
                            "code": "661cc91d-66ba-457c-b12d-5559a6d1f4d4",
                            "url": "ContractorManagement/TrainingRecordManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "661cc91d-66ba-457c-b12d-5559a6d1f4d4"
                        },
                        //{
                        //    "parentId": "661cc91d-66ba-457c-b12d-5559a6d1f4d4",
                        //    "serialNumber": 4,
                        //    "name": "履职职责落实情况管理",
                        //    "code": "test2",
                        //    "url": "OrganisationAndResponsibilities/DutiesAndResponsibilitiesList.html",
                        //    "type": 0,
                        //    "icon": "fa fa-link",
                        //    "remarks": null,
                        //    "id": "4b94cf43-8fe2-4786-35ce-08d6bedd5ccc"
                        //},
                        //{
                        //    "parentId": "661cc91d-66ba-457c-b12d-5559a6d1f4d4",
                        //    "serialNumber": 4,
                        //    "name": "履职职责落实情况查看",
                        //    "code": "test3",
                        //    "url": "OrganisationAndResponsibilities/DutiesAndResponsibilitiesViewList.html",
                        //    "type": 0,
                        //    "icon": "fa fa-link",
                        //    "remarks": null,
                        //    "id": "4b94cf43-8fe2-4786-35ce-08d6bedd5cck"
                        //},
                        {
                            "parentId": "661cc91d-66ba-457c-b12d-5559a6d1f4d4",
                            "serialNumber": 4,
                            "name": "评估模板设置",
                            "code": "testlz1",
                            "url": "OrganisationAndResponsibilities/AssessTemplateSetting.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-35ce-08d6bedd5cpg"
                        },
                        {
                            "parentId": "661cc91d-66ba-457c-b12d-5559a6d1f4d4",
                            "serialNumber": 4,
                            "name": "履职能力评估计划",
                            "code": "testlz2",
                            "url": "OrganisationAndResponsibilities/PerformanceAssessPlanList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-35ce-08d6bedd5cjh"
                        },

                        {
                            "parentId": "661cc91d-66ba-457c-b12d-5559a6d1f4d4",
                            "serialNumber": 4,
                            "name": "个人评估表",
                            "code": "testlz3",
                            "url": "OrganisationAndResponsibilities/PersonalAssessmentList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-35ce-08d6bedgepgb"
                        },


                        {
                            "parentId": "661cc91d-66ba-457c-b12d-5559a6d1f4d4",
                            "serialNumber": 4,
                            "name": "履职能力评估计划会签",
                            "code": "testlz4",
                            "url": "OrganisationAndResponsibilities/PlanwillbeSignedList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-35ce-08d6bedgjhhq"
                        },




                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08d6bedd5512",
                            "serialNumber": 8,
                            "name": "个人安全行动计划",
                            "code": "3a2d453e-adaf-4082-8e38-ce8872213fbf",
                            "url": "ContractorManagement/TrainingRecordManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "3a2d453e-adaf-4082-8e38-ce8872213fbf"
                        },
                        {
                            "parentId": "3a2d453e-adaf-4082-8e38-ce8872213fbf",
                            "serialNumber": 4,
                            "name": "个人安全行动计划管理",
                            "code": "test14",
                            "url": "OrganisationAndResponsibilities/PersonSafePlanManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-35ce-08d6bedd5sck"
                        },
                        {
                            "parentId": "3a2d453e-adaf-4082-8e38-ce8872213fbf",
                            "serialNumber": 4,
                            "name": "个人安全行动计划查看",
                            "code": "test55",
                            "url": "OrganisationAndResponsibilities/PersonSafePlanViewList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-35ce-08d6beddwsck"
                        },
                        {
                            "parentId": "3a2d453e-adaf-4082-8e38-ce8872213fbf",
                            "serialNumber": 4,
                            "name": "个人安全行动计划审批",
                            "code": "test6",
                            "url": "OrganisationAndResponsibilities/PersonSafePlanApprovalList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-35ce-03d6beddwsck"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08d6bedd5512",
                            "serialNumber": 4,
                            "name": "HSE行动计划跟进表",
                            "code": "test7",
                            "url": "OrganisationAndResponsibilities/HSEActionPlanFollowupTableList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-35se-03d6bsxdwsck"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08d6bedd5512",
                            "serialNumber": 8,
                            "name": "岗位安全考核模板设置",
                            "code": "test8",
                            "url": "OrganisationAndResponsibilities/PostSafeAssessmentTemplate.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-35se-03d6basdzxcv"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08d6bedd5512",
                            "serialNumber": 9,
                            "name": "岗位安全职责考核管理",
                            "code": "test9",
                            "url": "OrganisationAndResponsibilities/PostSafeResponsibilityExamineManagerList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-35se-03d6bqweasdf"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08d6bdvc4512",
                            "serialNumber": 4,
                            "name": "安全检查",
                            "code": "test2",
                            "url": "",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-35ce-08d6skcd5ccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08d6skcd5ccc",
                            "serialNumber": 4,
                            "name": "安全检查管理",
                            "code": "test311",
                            "url": "HeadquartersHSEOffice/SafeCheckManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-35ce-08d6lk5k5ccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08d6skcd5ccc",
                            "serialNumber": 4,
                            "name": "安全检查记录",
                            "code": "test4",
                            "url": "HeadquartersHSEOffice/SafeCheckRecordList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-35ce-08d6bjfd5ccc"
                        },

                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08d6bdvc4512",
                            "serialNumber": 4,
                            "name": "办公安全",
                            "code": "bgaq",
                            "url": "",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-35ce-08d6sdcd5ccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08d6sdcd5ccc",
                            "serialNumber": 4,
                            "name": "安全分委会组织架构",
                            "code": "aqfwhzzjg",
                            "url": "",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-35ce-08aaaacd5ccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08aaaacd5ccc",
                            "serialNumber": 4,
                            "name": "组织架构维护",
                            "code": "zzjgwh",
                            "url": "HeadquartersHSEOffice/OrganizationalStructureMaintenanceList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-35ce-08vaaacd5ccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08aaaacd5ccc",
                            "serialNumber": 4,
                            "name": "安全分委会组织架构",
                            "code": "aqfwhzzjg2",
                            "url": "HeadquartersHSEOffice/OrganizationalStructureSafetyList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-35ce-08qaadcd5ccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08d6sdcd5ccc",
                            "serialNumber": 4,
                            "name": "办公安全分委会积分考核",
                            "code": "bgaqfwhjfkh",
                            "url": "HeadquartersHSEOffice/ScoreAssessmentOfficeSecurityList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-35ce-08wqercd5ccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08d6bdvc4512",
                            "serialNumber": 4,
                            "name": "HSE培训",
                            "code": "hsepx",
                            "url": "",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-5489-08d6sdcd5ccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-5489-08d6sdcd5ccc",
                            "serialNumber": 4,
                            "name": "在线考试",
                            "code": "zxks",
                            "url": "",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-1478-5489-08d6sdcd5ccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-1478-5489-08d6sdcd5ccc",
                            "serialNumber": 4,
                            "name": "模拟考试",
                            "code": "mnks2",
                            "url": "HeadquartersHSEOffice/MockexamList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-7f8e-1478-5489-08d6sdcd5ccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-1478-5489-08d6sdcd5ccc",
                            "serialNumber": 4,
                            "name": "在线考试",
                            "code": "zxks2",
                            "url": "HeadquartersHSEOffice/OnlineexaminationList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-7d5v-1478-5489-08d6sdcd5ccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-5489-08d6sdcd5ccc",
                            "serialNumber": 4,
                            "name": "课件管理",
                            "code": "kjgl",
                            "url": "HeadquartersHSEOffice/CoursewaremanagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-74fr-5489-08d6sdcd5ccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-5489-08d6sdcd5ccc",
                            "serialNumber": 4,
                            "name": "年度培训计划管理",
                            "code": "ndpxjhgl",
                            "url": "HeadquartersHSEOffice/AnnualTrainingPlanManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-7s8r-74fr-5489-08d6sdcd5ccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-5489-08d6sdcd5ccc",
                            "serialNumber": 4,
                            "name": "待设培训计划员工",
                            "code": "dspxjhyg",
                            "url": "HeadquartersHSEOffice/StafftobetrainedList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-7s8r-85xz-5489-08d6sdcd5ccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-5489-08d6sdcd5ccc",
                            "serialNumber": 4,
                            "name": "学分完成情况统计",
                            "code": "xfwcqktj",
                            "url": "HeadquartersHSEOffice/CreditcompletionstatisticsList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-7s8r-87cb-5489-08d6sdcd5ccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-5489-08d6sdcd5ccc",
                            "serialNumber": 4,
                            "name": "培训归档",
                            "code": "pxgd",
                            "url": "HeadquartersHSEOffice/TrainingArchiveList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-7s8r-74fl-5489-08d6sdcd5ccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-5489-08d6sdcd5ccc",
                            "serialNumber": 4,
                            "name": "我的培训记录",
                            "code": "wdpxjl",
                            "url": "HeadquartersHSEOffice/MytrainingrecordList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94c75d-7s8r-74fl-5489-08d6sdcd5ccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-5489-08d6sdcd5ccc",
                            "serialNumber": 4,
                            "name": "我的培训课程",
                            "code": "wdpxkc",
                            "url": "HeadquartersHSEOffice/AddingtraininginformationList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94c75d-7s8r-74fl-74gl-08d6sdcd5ccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08d6bdvc4512",
                            "serialNumber": 4,
                            "name": "安全里程碑活动",
                            "code": "aqlcbhd",
                            "url": "HeadquartersHSEOffice/SafetyMilestonesList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-4786-58sa-08d6s41s5ccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08d6bdvc4512",
                            "serialNumber": 4,
                            "name": "HSE信息共享",
                            "code": "hsexxgx",
                            "url": "",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-74fe-58sa-08d6s41s5ccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-74fe-58sa-08d6s41s5ccc",
                            "serialNumber": 4,
                            "name": "安全经验分享库",
                            "code": "aqjyfxk",
                            "url": "HeadquartersHSEOffice/SecurityExperienceSharingLibraryList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-74fr-74fe-58sa-08d6s41s5ccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-74fe-58sa-08d6s41s5ccc",
                            "serialNumber": 4,
                            "name": "产品MSDS数据库",
                            "code": "cpmsdssjk",
                            "url": "HeadquartersHSEOffice/ProductMSDSdatabaseList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-74fr-74fe-741e-08d6s41s5ccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-74fe-58sa-08d6s41s5ccc",
                            "serialNumber": 4,
                            "name": "工厂运营类HSE合规类证书库",
                            "code": "gcyylhse",
                            "url": "HeadquartersHSEOffice/HSEComplianceCertificateLibraryforFactoryOperationsList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-74fr-74fe-1269-08d6s41s5ccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-74fe-58sa-08d6s41s5ccc",
                            "serialNumber": 4,
                            "name": "安全管理师培训管理",
                            "code": "aqgls",
                            "url": "HeadquartersHSEOffice/SafetyManagerTrainingManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-74fr-74fe-1003-08d6s41s5ccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-74fe-58sa-08d6s41s5ccc",
                            "serialNumber": 4,
                            "name": "MSDS数据库",
                            "code": "msdssjk",
                            "url": "HeadquartersHSEOffice/MSDSdatabaseList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-74fr-74fe-741e-08d6s41s5ddd"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08d6bdvc4512",
                            "serialNumber": 4,
                            "name": "安委会会议纪要历史查询",
                            "code": "awhhyjy",
                            "url": "HeadquartersHSEOffice/HistoricalinquiriesonminutesofSecurityCommitteemeetingsList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-8fe2-74fe-10zc-08d6s41s5ccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08d6bdvc4512",
                            "serialNumber": 4,
                            "name": "员工信息管理",
                            "code": "ygxxgl",
                            "url": "HeadquartersHSEOffice/EmployeeInformationManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-10dw-74fe-10zc-08d6s41s5ccc"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08d6bdvc4512",
                            "serialNumber": 4,
                            "name": "HSE管理目标编辑",
                            "code": "HSEGLMBBJ",
                            "url": "HeadquartersHSEOffice/HSEManagementgoalEdit.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-10dw-74fe-10zc-08d6s41s5ddd"
                        },
                        {
                            "parentId": "4b94cf43-8fe2-4786-35ce-08d6bdvc4512",
                            "serialNumber": 4,
                            "name": "HSE管理目标查看",
                            "code": "HSEGLMBck",
                            "url": "HeadquartersHSEOffice/HSEManagementgoalView.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4b94cf43-10dw-74fe-10zc-08d6s41s5eee"
                        },
                        //{ "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 5, "name": "echarts", "code": "3c4cddf3-0540-4761-a7db-08d6c16c9da4", "url": "test/echarts.html", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "4b94cf43-8fe2-4786-35ce-08d6bedd5522" }, { "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 6, "name": "ueditor", "code": "Menu_Index1", "url": "test/ueditor.html", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "3c4cddf3-0540-4761-a7db-08d6c16c9da1" }, { "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 7, "name": "文件上传", "code": "Menu_Index2", "url": "test/fileupload.html", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "3c4cddf3-0540-4761-a7db-08d6c16c9da2" }, { "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 7, "name": "树", "code": "Menu_Index3", "url": "test/tree.html", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "3c4cddf3-0540-4761-a7db-08d6c16c9da3" }, { "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 7, "name": "下拉树", "code": "Menu_Index4", "url": "test/downtree.html", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "3c4cddf3-0540-4761-a7db-08d6c16c9da4" },
                        {
                            "parentId": "794e5464-e76b-418d-a7f5-08d6c16c2222",
                            "serialNumber": 1,
                            "name": "操作及相关作业活动",
                            "code": "794e5464-e76b-418d-a7f5-08d6c16c2123",
                            "url": "RiskControlInformationDatabase/OperationRelatedActivitiesList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "794e5464-e76b-418d-a7f5-08d6c16c2123"
                        },
                        {
                            "parentId": "794e5464-e76b-418d-a7f5-08d6c16c2222",
                            "serialNumber": 0,
                            "name": "操作程序",
                            "code": "794e5464-e76b-418d-a7f5-08d6c16c0000",
                            "url": "RiskControlInformationDatabase/OperatingProceduresList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "794e5464-e76b-418d-a7f5-08d6c16c0000"
                        },

                        {
                            "parentId": "794e5464-e76b-418d-a7f5-08d6c16c2222",
                            "serialNumber": 1,
                            "name": "生产作业活动",
                            "code": "794e5464-e76b-418d-a7f5-08d6c16c1111",
                            "url": "RiskControlInformationDatabase/WorkAtivitiesList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "794e5464-e76b-418d-a7f5-08d6c16c1111"
                        },

                        {
                            "parentId": "aa1de96e-f768-4b7d-8091-8eaf46ac756b",
                            "serialNumber": 1,
                            "name": "操作及相关作业活动",
                            "code": "794e5464-e76b-418d-a7f5-08d6c16c2222",
                            "url": "RiskControlInformationDatabase/OperationRelatedActivitiesList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "794e5464-e76b-418d-a7f5-08d6c16c2222"
                        },
                        {
                            "parentId": "aa1de96e-f768-4b7d-8091-8eaf46ac756b",
                            "serialNumber": 2,
                            "name": "检维修作业活动",
                            "code": "794e5464-e76b-418d-a7f5-08d6c16c4444",
                            "url": "RiskControlInformationDatabase/InspectionMaintenanceActivitiesList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "794e5464-e76b-418d-a7f5-08d6c16c4444"
                        },
                        {
                            "parentId": "aa1de96e-f768-4b7d-8091-8eaf46ac756b",
                            "serialNumber": 3,
                            "name": "设备设施",
                            "code": "794e5464-e76b-418d-a7f5-08d6c16c5555",
                            "url": "RiskControlInformationDatabase/EquipmenFacilitiesList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "794e5464-e76b-418d-a7f5-08d6c16c5555"
                        },
                        {
                            "parentId": "aa1de96e-f768-4b7d-8091-8eaf46ac756b",
                            "serialNumber": 4,
                            "name": "工艺介质",
                            "code": "794e5464-e76b-418d-a7f5-08d6c16c6666",
                            "url": "RiskControlInformationDatabase/ProcessMediumList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "794e5464-e76b-418d-a7f5-08d6c16c6666"
                        },
                        {
                            "parentId": "aa1de96e-f768-4b7d-8091-8eaf46ac756b",
                            "serialNumber": 5,
                            "name": "场所环境",
                            "code": "794e5464-e76b-418d-a7f5-08d6c16c7777",
                            "url": "RiskControlInformationDatabase/PlaceEnvironmentList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "794e5464-e76b-418d-a7f5-08d6c16c7777"
                        },
                        {
                            "parentId": "aa1de96e-f768-4b7d-8091-8eaf46ac756b",
                            "serialNumber": 6,
                            "name": "风险类别管理",
                            "code": "794e5464-e76b-418d-a7f5-08d6c16c8888",
                            "url": "RiskControlInformationDatabase/RiskCategoryManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "794e5464-e76b-418d-a7f5-08d6c16c8888"
                        }, {
                            "parentId": "3aefb144-f677-45b3-90e2-e4d50776a656",
                            "serialNumber": 1,
                            "name": "承包商名录管理",
                            "code": "4BAC07C5-7238-4757-9070-8DDEFD3C6751",
                            "url": "ContractorManagement/ContractorDirectoryManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4bac07c5-7238-4757-9070-8ddefd3c6751"
                        }, {}, {
                            "parentId": "3aefb144-f677-45b3-90e2-e4d50776a656",
                            "serialNumber": 1,
                            "name": "承包商黑名单",
                            "code": "4BAC07C5-7238-4757-9070-8ddefd374751",
                            "url": "ContractorManagement/BlackContractorDirectoryManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4bac07c5-7238-4757-9070-8ddefd374751"
                        }, {
                            "parentId": "3aefb144-f677-45b3-90e2-e4d50776a656",
                            "serialNumber": 2,
                            "name": "承包商人员名录管理",
                            "code": "8FB2B6AD-8343-4900-BF51-88CE2C79E3D3",
                            "url": "ContractorManagement/ContractorPersonnelDirectoryManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "8fb2b6ad-8343-4900-bf51-88ce2c79e3d3"
                        }, {}, {
                            "parentId": "3aefb144-f677-45b3-90e2-e4d50776a656",
                            "serialNumber": 2,
                            "name": "承包商人员黑名单",
                            "code": "8FB2B6AD-8343-4900-BF51-88ce2c78e3d3",
                            "url": "ContractorManagement/BlackContractorPersonnelDirectoryManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "8fb2b6ad-8343-4900-bf51-88ce2c78e3d3"
                        }, {
                            "parentId": "3aefb144-f677-45b3-90e2-e4d50776a656",
                            "serialNumber": 3,
                            "name": "承包商入场人员名单",
                            "code": "6F03813D-2D8C-474F-93B3-ECC7D7CE2C3F",
                            "url": "ContractorManagement/ContractorPersonnelAdmissionlist.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "6f03813d-2d8c-474f-93b3-ecc7d7ce2c3f"
                        }, {
                            "parentId": "3aefb144-f677-45b3-90e2-e4d50776a656",
                            "serialNumber": 4,
                            "name": "承包商入场工具管理",
                            "code": "62B762AC-1444-4D2C-98F5-E7054FE5BC7E",
                            "url": "ContractorManagement/ContractorAdmissionToolManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "62b762ac-1444-4d2c-98f5-e7054fe5bc7e"
                        }, {
                            "parentId": "3aefb144-f677-45b3-90e2-e4d50776a656",
                            "serialNumber": 5,
                            "name": "承包商违章台账",
                            "code": "D76B0DB3-9799-4097-A7C9-1AB48107E6AD",
                            "url": "ContractorManagement/ContractorViolationAccountList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "d76b0db3-9799-4097-a7c9-1ab48107e6ad"
                        },
                        // {
                        //     "parentId": "3aefb144-f677-45b3-90e2-e4d50776a656",
                        //     "serialNumber": 5,
                        //     "name": "承包商违章次数统计",
                        //     "code": "D76B0DB3-9799-4097-A7C9-1ab44107e6ad",
                        //     "url": "ContractorManagement/ViolationNumber.html",
                        //     "type": 0,
                        //     "icon": "fa fa-link",
                        //     "remarks": null,
                        //     "id": "d76b0db3-9799-4097-a7c9-1ab44107e6ad"
                        // },
                        // {
                        //     "parentId": "3aefb144-f677-45b3-90e2-e4d50776a656",
                        //     "serialNumber": 5,
                        //     "name": "承包商安全工时统计",
                        //     "code": "D76B0DB3-9799-4097-A7C9-18744107e6ad",
                        //     "url": "ContractorManagement/SafetyWorkingHours.html",
                        //     "type": 0,
                        //     "icon": "fa fa-link",
                        //     "remarks": null,
                        //     "id": "d76b0db3-9799-4097-a7c9-18744107e6ad"
                        // },
                        {
                            "parentId": "3aefb144-f677-45b3-90e2-e4d50776a656",
                            "serialNumber": 6,
                            "name": "培训管理",
                            "code": "6cd21117-2c2e-4019-8fe4-27f5cfb075cd",
                            "url": null,
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "6cd21117-2c2e-4019-8fe4-27f5cfb075cd"
                        },
                        {
                            "parentId": "6cd21117-2c2e-4019-8fe4-27f5cfb075cd",
                            "serialNumber": 7,
                            "name": "培训课件管理",
                            "code": "97E0CBB7-BC52-4E38-A755-D445F00A248B",
                            "url": "ContractorManagement/TrainingCoursewareManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "97e0cbb7-bc52-4e38-a755-d445f00a248b"
                        },
                        // {
                        //     "parentId": "6cd21117-2c2e-4019-8fe4-27f5cfb075cd",
                        //     "serialNumber": 6,
                        //     "name": "培训课件类型管理",
                        //     "code": "3B9F18DC-F753-408A-8C25-22358A5B123B",
                        //     "url": "ContractorManagement/TrainingCoursewareTypeManagementList.html",
                        //     "type": 0,
                        //     "icon": "fa fa-link",
                        //     "remarks": null,
                        //     "id": "3b9f18dc-f753-408a-8c25-22358a5b123b"
                        // }, 

                        {
                            "parentId": "3aefb144-f677-45b3-90e2-e4d50776a656",
                            "serialNumber": 8,
                            "name": "试题管理",
                            "code": "A74E34A4-FE2E-4856-AA3B-89CE4D9E3F25",
                            "url": "ContractorManagement/TestQuestionsManagement.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-89ce4d9e3f25"
                        },

                        {
                            "parentId": "6cd21117-2c2e-4019-8fe4-27f5cfb075cd",
                            "serialNumber": 9,
                            "name": "培训记录管理",
                            "code": "E7CC680A-2020-4414-A0A8-C45993B55468",
                            "url": "ContractorManagement/TrainingRecordManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "e7cc680a-2020-4414-a0a8-c45993b55468"
                        },
                        {
                            "parentId": "3aefb144-f677-45b3-90e2-e4d50776a656",
                            "serialNumber": 10,
                            "name": "考试记录管理",
                            "code": "1E73ABD2-7D1B-4EAB-9C5E-EB2394F77ABA",
                            "url": "ContractorManagement/ExaminationRecordManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "1e73abd2-7d1b-4eab-9c5e-eb2394f77aba"
                        },
                        {
                            "parentId": "3aefb144-f677-45b3-90e2-e4d50776a656",
                            "serialNumber": 11,
                            "name": "日常评估考核",
                            "code": "42e1e80f-5d71-42d3-8c2e-91010697e3f3",
                            "url": null,
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "42e1e80f-5d71-42d3-8c2e-91010697e3f3"
                        },
                        {
                            "parentId": "42e1e80f-5d71-42d3-8c2e-91010697e3f3",
                            "serialNumber": 11,
                            "name": "日常评估模板管理",
                            "code": "5F9C5143-E3FE-4668-812E-C89F09D07101",
                            "url": "ContractorManagement/DailyAssessmentTemplateManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "5f9c5143-e3fe-4668-812e-c89f09d07101"
                        }, {
                            "parentId": "42e1e80f-5d71-42d3-8c2e-91010697e3f3",
                            "serialNumber": 12,
                            "name": "日常评估考核管理",
                            "code": "A1466B39-A5FD-48DF-9F5E-633874E622B4",
                            "url": "ContractorManagement/DailyAssessmentManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a1466b39-a5fd-48df-9f5e-633874e622b4"
                        }, {
                            "parentId": "3aefb144-f677-45b3-90e2-e4d50776a656",
                            "serialNumber": 11,
                            "name": "总体评估考核",
                            "code": "7e26984c-bd25-4530-9821-3f2b33913dbe",
                            "url": null,
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "7e26984c-bd25-4530-9821-3f2b33913dbe"
                        },
                        {
                            "parentId": "7e26984c-bd25-4530-9821-3f2b33913dbe",
                            "serialNumber": 13,
                            "name": "总体评估模板管理",
                            "code": "F4B7483A-3D68-46FC-85E5-FE71FECF0ED7",
                            "url": "ContractorManagement/OverallEvaluationTemplateManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "f4b7483a-3d68-46fc-85e5-fe71fecf0ed7"
                        },
                        //  {
                        //     "parentId": "7e26984c-bd25-4530-9821-3f2b33913dbe",
                        //     "serialNumber": 14,
                        //     "name": "总体评估考核管理",
                        //     "code": "BD9C951B-7474-4411-AF43-B2B77DC020D9",
                        //     "url": "ContractorManagement/OverallAssessmentManagementList.html",
                        //     "type": 0,
                        //     "icon": "fa fa-link",
                        //     "remarks": null,
                        //     "id": "bd9c951b-7474-4411-af43-b2b77dc020d9"
                        // },
                        {
                            "parentId": "7e26984c-bd25-4530-9821-3f2b33913dbe",
                            "serialNumber": 15,
                            "name": "总体评估考核评分",
                            "code": "9E61FA68-37DA-4F59-921B-975BAB6F3A84",
                            "url": "ContractorManagement/OverallAssessmentScoreList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "9e61fa68-37da-4f59-921b-975bab6f3a84"
                        },
                        //法律法规_消息提醒
                        {
                            "parentId": "1a2b3c4d-1a2b-1234-56ab-1a2b3c4d5e61",
                            "serialNumber": 1,
                            "name": "消息提醒",
                            "code": "xxtx",
                            "url": "LawsRegulations/InfoRemindList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "1a2b3c4d-1a2b-1234-4567-1a2b3c4d5e73"
                        },
                        {
                            "parentId": "1a2b3c4d-1a2b-1234-56ab-1a2b3c4d5e61",
                            "serialNumber": 1,
                            "name": "标准规范",
                            "code": "bzgf",
                            "url": "LawsRegulations/LawRegulationStandardSpecification.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "1a2b3c4d-1a2b-1234-56ab-1a2b3c4d5e73"
                        },
                        {
                            "parentId": "1a2b3c4d-1a2b-1234-56ab-1a2b3c4d5e61",
                            "serialNumber": 11,
                            "name": "法律法规推送管理",
                            "code": "d425f536-bc02-4cbd-b7dd-20caf5a06f40",
                            "url": null,
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "d425f536-bc02-4cbd-b7dd-20caf5a06f40"
                        },
                        //法律法规更新
                        {
                            "parentId": "d425f536-bc02-4cbd-b7dd-20caf5a06f40",
                            "serialNumber": 2,
                            "name": "法律法规更新",
                            "code": "law2",
                            "url": "LawsRegulations/LawRegulationsUpdate.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "1a2b3c4d-1a2b-1234-56ab-1a2b3c4d5e62"
                        },
                        //审核法律法规清单
                        {
                            "parentId": "d425f536-bc02-4cbd-b7dd-20caf5a06f40",
                            "serialNumber": 3,
                            "name": "审核法律法规清单",
                            "code": "law3",
                            "url": "LawsRegulations/LawRegulationsVerify.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "1a2b3c4d-1a2b-1234-56ab-1a2b3c4d5e63"
                        },
                        //法律法规信息补录
                        {
                            "parentId": "d425f536-bc02-4cbd-b7dd-20caf5a06f40",
                            "serialNumber": 4,
                            "name": "法律法规信息补录",
                            "code": "law5",
                            "url": "LawsRegulations/LegalRegulatoryInformationSupplementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "1a2b3c4d-1a2b-1234-56ab-1a2b3c4d5e65"
                        },
                        //法律法规_清单管理
                        {
                            "parentId": "1a2b3c4d-1a2b-1234-56ab-1a2b3c4d5e61",
                            "serialNumber": 5,
                            "name": "法律法规清单管理",
                            "code": "qdgl",
                            "url": "LawsRegulations/LawRegulationListAdministration.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "1a2b3c4d-1a2b-1234-56ab-1a2b3c4d5e71"
                        },
                        //法律法规历史清单
                        {
                            "parentId": "1a2b3c4d-1a2b-1234-56ab-1a2b3c4d5e61",
                            "serialNumber": 6,
                            "name": "法律法规历史清单",
                            "code": "law4",
                            "url": "LawsRegulations/lawsRegulationsHistoryList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "1a2b3c4d-1a2b-1234-56ab-1a2b3c4d5e64"
                        },
                        //法律法规_合规性评价报告管理
                        {
                            "parentId": "1a2b3c4d-1a2b-1234-56ab-1a2b3c4d5e61",
                            "serialNumber": 7,
                            "name": "合规性评价报告管理",
                            "code": "hgxpjbg",
                            "url": "LawsRegulations/LawRegulationsFitAdministration.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "1a2b3c4d-1a2b-1234-56ab-1a2b3c4d5e72"
                        },
                        //法律法规_合规性评价及符合性评审管理
                        {
                            "parentId": "1a2b3c4d-1a2b-1234-56ab-1a2b3c4d5e61",
                            "serialNumber": 8,
                            "name": "合规性评价及符合性评审管理",
                            "code": "hgxpjgl",
                            "url": "LawsRegulations/ComplianceAssessmentManagList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "1a2b3c4d-1a2b-1234-56ab-1a2b3c4d5e68"
                        },
                        //法律法规_管理制度
                        {
                            "parentId": "1a2b3c4d-1a2b-1234-56ab-1a2b3c4d5e61",
                            "serialNumber": 9,
                            "name": "管理制度",
                            "code": "glzd",
                            "url": "LawsRegulations/ManagementSystemList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "1a2b3c4d-1a2b-1234-56ab-1a2b3c4d5e69"
                        },
                        //法律法规_管理制度查询
                        {
                            "parentId": "1a2b3c4d-1a2b-1234-56ab-1a2b3c4d5e61",
                            "serialNumber": 10,
                            "name": "管理制度查询",
                            "code": "glzdcx",
                            "url": "LawsRegulations/ManagementSystemSelList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "1a2b3c4d-1a2b-1234-56ab-1a2b3c4d5e70"
                        },


                        //法律法规_类别管理
                        {
                            "parentId": "1a2b3c4d-1a2b-1234-56ab-1a2b3c4d5e61",
                            "serialNumber": 11,
                            "name": "文件级别管理",
                            "code": "lbgl",
                            "url": "LawsRegulations/CategoryManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "1a2b3c4d-1a2b-1234-56ab-1a2b3c4d5e66"
                        },
                        //法律法规_管理制度类别
                        {
                            "parentId": "1a2b3c4d-1a2b-1234-56ab-1a2b3c4d5e61",
                            "serialNumber": 12,
                            "name": "管理制度类别",
                            "code": "glzdlb",
                            "url": "LawsRegulations/ManageSystemCategoryList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "1a2b3c4d-1a2b-1234-56ab-1a2b3c4d5e67"
                        },
                        //隐患管理

                        //隐患管理-隐患排查标准知识库
                        {
                            "parentId": "3aefb144-f677-45b3-90e2-e4d507003a00",
                            "serialNumber": 1,
                            "name": "隐患排查标准知识库",
                            "code": "A74E34A4-FE2E-4856-AA3B-E4D507003A11",
                            "url": null,
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-e4d507003a11"
                        },
                        //隐患管理-隐患排查标准知识库-操作与相关作业活动
                        {
                            "parentId": "a74e34a4-fe2e-4856-aa3b-e4d507003a11",
                            "serialNumber": 1,
                            "name": "操作与相关作业活动",
                            "code": "A74E34A4-FE2E-4856-AA3B-E4D507003B01",
                            "url": "RisksManagement/StandardKnowledgeBase/OperationsAndActivitiesList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-e4d507003b01"
                        },
                        //隐患管理-隐患排查标准知识库-检查维修作业活动
                        {
                            "parentId": "a74e34a4-fe2e-4856-aa3b-e4d507003a11",
                            "serialNumber": 2,
                            "name": "检查维修作业活动",
                            "code": "A74E34A4-FE2E-4856-AA3B-E4D507003B02",
                            "url": "RisksManagement/StandardKnowledgeBase/RepairActivitiesList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-e4d507003b02"
                        },
                        //隐患管理-隐患排查标准知识库-设备设施
                        {
                            "parentId": "a74e34a4-fe2e-4856-aa3b-e4d507003a11",
                            "serialNumber": 3,
                            "name": "设备设施",
                            "code": "A74E34A4-FE2E-4856-AA3B-E4D507003B03",
                            "url": "RisksManagement/StandardKnowledgeBase/EquipmentFacilitiesList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-e4d507003b03"
                        },
                        //隐患管理-隐患排查标准知识库-工艺介质
                        {
                            "parentId": "a74e34a4-fe2e-4856-aa3b-e4d507003a11",
                            "serialNumber": 4,
                            "name": "工艺介质",
                            "code": "A74E34A4-FE2E-4856-AA3B-E4D507003B04",
                            "url": "RisksManagement/StandardKnowledgeBase/ProcessMediumList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-e4d507003b04"
                        },
                        //隐患管理-隐患排查标准知识库-场所环境
                        {
                            "parentId": "a74e34a4-fe2e-4856-aa3b-e4d507003a11",
                            "serialNumber": 5,
                            "name": "场所环境",
                            "code": "A74E34A4-FE2E-4856-AA3B-E4D507003B05",
                            "url": "RisksManagement/StandardKnowledgeBase/PlaceEnvironmentList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-e4d507003b05"
                        },
                        //隐患管理-隐患排查标准知识库-基础管理类隐患排查库
                        {
                            "parentId": "a74e34a4-fe2e-4856-aa3b-e4d507003a11",
                            "serialNumber": 6,
                            "name": "基础管理类隐患排查库",
                            "code": "A74E34A4-FE2E-4856-AA3B-E4D507003B06",
                            "url": null,
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-e4d507003b06"
                        },
                        //隐患管理-隐患排查标准知识库-基础管理类隐患排查库-基础管理类隐患排查库
                        {
                            "parentId": "a74e34a4-fe2e-4856-aa3b-e4d507003b06",
                            "serialNumber": 1,
                            "name": "基础管理类隐患排查库",
                            "code": "A74E34A4-FE2E-4856-AA3B-E4D507003C11",
                            "url": "RisksManagement/StandardKnowledgeBase/ContentsAndStandardsList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-e4d507003c11"
                        },
                        //隐患管理-隐患排查标准知识库-基础管理类隐患排查库-排查项目-维护
                        {
                            "parentId": "a74e34a4-fe2e-4856-aa3b-e4d507003b06",
                            "serialNumber": 2,
                            "name": "排查项目-维护",
                            "code": "A74E34A4-FE2E-4856-AA3B-E4D507003C12",
                            "url": "RisksManagement/StandardKnowledgeBase/InvestigationItemsList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-e4d507003c12"
                        },
                        //隐患管理-隐患排查标准知识库-基础管理类隐患排查库-基础管理类隐患排查库
                        // {
                        //     "parentId": "a74e34a4-fe2e-4856-aa3b-e4d507003b06",
                        //     "serialNumber": 3,
                        //     "name": "基础管理类隐患排查库",
                        //     "code": "A74E34A4-FE2E-4856-AA3B-E4D507003C13",
                        //     "url": "RisksManagement/StandardKnowledgeBase/BasicInvestigateDatabaseList.html",
                        //     "type": 0,
                        //     "icon": "fa fa-link",
                        //     "remarks": null,
                        //     "id": "a74e34a4-fe2e-4856-aa3b-e4d507003c13"
                        // },
                        //隐患管理-隐患等级管理
                        {
                            "parentId": "3aefb144-f677-45b3-90e2-e4d507003a00",
                            "serialNumber": 2,
                            "name": "隐患等级管理",
                            "code": "A74E34A4-FE2E-4856-AA3B-E4D507003A01",
                            "url": "RisksManagement/RiskLevelList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-e4d507003a01"
                        },
                        //{ "parentId": "3aefb144-f677-45b3-90e2-e4d507003a00", "serialNumber": 2, "name": "隐患等级管理", "code": "A74E34A4-FE2E-4856-AA3B-E4D507003A01", "url": "JobLicenseApproval/BlindPlatePumpingSafetyList.html", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "a74e34a4-fe2e-4856-aa3b-e4d507003a01" },
                        //隐患管理-隐患排查类型管理
                        // {
                        //     "parentId": "3aefb144-f677-45b3-90e2-e4d507003a00",
                        //     "serialNumber": 3,
                        //     "name": "隐患排查类型管理",
                        //     "code": "A74E34A4-FE2E-4856-AA3B-E4D507003A02",
                        //     "url": "RisksManagement/RiskTypeList.html",
                        //     "type": 0,
                        //     "icon": "fa fa-link",
                        //     "remarks": null,
                        //     "id": "a74e34a4-fe2e-4856-aa3b-e4d507003a02"
                        // },
                        //隐患管理-隐患排查类别管理
                        // {
                        //     "parentId": "3aefb144-f677-45b3-90e2-e4d507003a00",
                        //     "serialNumber": 4,
                        //     "name": "隐患排查类别管理",
                        //     "code": "A74E34A4-FE2E-4856-AA3B-E4D507003A03",
                        //     "url": "RisksManagement/RiskCategoryList.html",
                        //     "type": 0,
                        //     "icon": "fa fa-link",
                        //     "remarks": null,
                        //     "id": "a74e34a4-fe2e-4856-aa3b-e4d507003a03"
                        // },
                        //隐患管理-隐患排查内容设置
                        {
                            "parentId": "3aefb144-f677-45b3-90e2-e4d507003a00",
                            "serialNumber": 5,
                            "name": "隐患排查内容设置",
                            "code": "A74E34A4-FE2E-4856-AA3B-E4D507003A04",
                            "url": "RisksManagement/RiskContentList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-e4d507003a04"
                        },
                        //隐患管理-隐患排查管理
                        {
                            "parentId": "3aefb144-f677-45b3-90e2-e4d507003a00",
                            "serialNumber": 6,
                            "name": "隐患排查管理",
                            "code": "A74E34A4-FE2E-4856-AA3B-E4D507003B81",
                            "url": "RisksManagement/RiskTaskList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-e4d507003b81"
                        },

                        //隐患管理-隐患排查上报管理6
                        {
                            "parentId": "3aefb144-f677-45b3-90e2-e4d507003a00",
                            "serialNumber": 7,
                            "name": "隐患排查上报管理",
                            "code": "A74E34A4-FE2E-4856-AA3B-E4D507005C09",
                            "url": null,
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-e4d507005c09"
                        },
                        //隐患管理-隐患排查上报管理-上报管理
                        {
                            "parentId": "a74e34a4-fe2e-4856-aa3b-e4d507005c09",
                            "serialNumber": 1,
                            "name": "隐患排查上报",
                            "code": "A74E34A4-FE2E-4856-AA3B-E4D5070B5C01",
                            "url": "RisksManagement/RiskReport/RiskReportList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-e4d5070b5c01"
                        },
                        //隐患管理-隐患排查上报管理-带班长审批
                        {
                            "parentId": "a74e34a4-fe2e-4856-aa3b-e4d507005c09",
                            "serialNumber": 2,
                            "name": "带班长审批",
                            "code": "A74E34A4-FE2E-4856-AA3B-E4D5070B5C02",
                            "url": "RisksManagement/RiskReport/MonitorApprovalList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-e4d5070b5c02"
                        },
                        //隐患管理-隐患排查上报管理-外部检查内容管理
                        {
                            "parentId": "a74e34a4-fe2e-4856-aa3b-e4d507005c09",
                            "serialNumber": 3,
                            "name": "外部检查内容管理",
                            "code": "A74E34A4-FE2E-4856-AA3B-E4D5070B5C03",
                            "url": "RisksManagement/RiskReport/ExternalInspectionList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-e4d5070b5c03"
                        },
                        //隐患管理-隐患排查上报管理-重大隐患信息录入
                        {
                            "parentId": "a74e34a4-fe2e-4856-aa3b-e4d507005c09",
                            "serialNumber": 4,
                            "name": "重大隐患信息录入及整改负责人选择",
                            "code": "A74E34A4-FE2E-4856-AA3B-E4D5070B5C04",
                            "url": "RisksManagement/MajorRisk/MajorRiskDossierList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-e4d5070b5c04"
                        },

                        //隐患管理-隐患排查上报管理-整改人进行整改
                        // {
                        //     "parentId": "a74e34a4-fe2e-4856-aa3b-e4d507005c09",
                        //     "serialNumber": 6,
                        //     "name": "整改人进行整改",
                        //     "code": "A74E34A4-FE2E-4856-AA3B-E4D5070B5C06",
                        //     "url": "RisksManagement/RectificationList.html",
                        //     "type": 0,
                        //     "icon": "fa fa-link",
                        //     "remarks": null,
                        //     "id": "a74e34a4-fe2e-4856-aa3b-e4d5070b5c06"
                        // },

                        //隐患管理-隐患排查治理管理7
                        {
                            "parentId": "3aefb144-f677-45b3-90e2-e4d507003a00",
                            "serialNumber": 8,
                            "name": "隐患排查治理管理",
                            "code": "A74E34A4-FE2E-4856-AA3B-E4D507004B01",
                            "url": null,
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-e4d507004b01"
                        },

                        //隐患管理-隐患排查情况查询7_1
                        // {
                        //     "parentId": "3aefb144-f677-45b3-90e2-e4d507003a00",
                        //     "serialNumber": 9,
                        //     "name": "隐患排查情况查询",
                        //     "code": "A74E34A4-FE2E-4856-AA3B-E4D507004BBB",
                        //     "url": "RisksManagement/RiskCheckSituationSel.html",
                        //     "type": 0,
                        //     "icon": "fa fa-link",
                        //     "remarks": null,
                        //     "id": "a74e34a4-fe2e-4856-aa3b-e4d507004222"
                        // },
                        //隐患管理-隐患管理台账查询7_2
                        {
                            "parentId": "3aefb144-f677-45b3-90e2-e4d507003a00",
                            "serialNumber": 10,
                            "name": "隐患管理台账查询",
                            "code": "a74e34a4-fe2e-4856-aa3b-e4d507004333",
                            "url": "RisksManagement/RiskCheckManageAccountSel.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-e4d507004333"
                        },
                        //隐患管理-申请修改审批
                        {
                            "parentId": "3aefb144-f677-45b3-90e2-e4d507003a00",
                            "serialNumber": 10,
                            "name": "申请修改审批",
                            "code": "a74e34a4-fe2e-7456-aa3b-e4d507004333",
                            "url": "RisksManagement/ApplyModifyApprovalList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-7456-aa3b-e4d507004333"
                        },
                        //隐患管理-隐患排查上报管理-制定整改计划
                        {
                            "parentId": "a74e34a4-fe2e-4856-aa3b-e4d507004b01",
                            "serialNumber": 5,
                            "name": "制定整改计划",
                            "code": "A74E34A4-FE2E-4856-AA3B-E4D5070B5C05",
                            "url": "RisksManagement/RectificationPlanList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-e4d5070b5c05"
                        },
                        //隐患管理-隐患排查治理管理-隐患整改
                        {
                            "parentId": "a74e34a4-fe2e-4856-aa3b-e4d507004b01",
                            "serialNumber": 1,
                            "name": "隐患整改",
                            "code": "a74e34a4-7456-4856-aa3b-e4d507003a05",
                            "url": "RisksManagement/RiskGovern/RiskRectificationList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-7456-4856-aa3b-e4d507003a05"
                        },

                        //隐患管理-隐患排查治理管理-隐患验收
                        {
                            "parentId": "a74e34a4-fe2e-4856-aa3b-e4d507004b01",
                            "serialNumber": 1,
                            "name": "隐患验收",
                            "code": "A74E34A4-FE2E-4856-AA3B-E4D507003A05",
                            "url": "RisksManagement/RiskGovern/RiskAcceptanceList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-e4d507003a05"
                        },

                        //隐患管理-隐患统计8
                        {
                            "parentId": "3aefb144-f677-45b3-90e2-e4d507003a00",
                            "serialNumber": 9,
                            "name": "隐患统计",
                            "code": "A74E34A4-FE2E-4856-AA3B-E4D507008998",
                            "url": null,
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-e4d507008998"
                        },
                        //隐患管理-隐患统计-隐患趋势折线图统计
                        {
                            "parentId": "a74e34a4-fe2e-4856-aa3b-e4d507008998",
                            "serialNumber": 1,
                            "name": "隐患趋势折线图统计",
                            "code": "A74E34A4-FE2E-4856-AA3B-E4D507003999",
                            "url": "RisksManagement/Echarts/RiskTrendLineChart.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-e4d507003999"
                        },
                        //隐患管理-隐患统计-隐患趋势折线图统计
                        {
                            "parentId": "a74e34a4-fe2e-4856-aa3b-e4d507008998",
                            "serialNumber": 2,
                            "name": "隐患类别饼状图统计",
                            "code": "A74E34A4-FE2E-4856-AA3B-E4D507003998",
                            "url": "RisksManagement/Echarts/RiskCategoryPieChart.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-e4d507003998"
                        },
                        //隐患管理-隐患统计-隐患趋势折线图统计
                        {
                            "parentId": "a74e34a4-fe2e-4856-aa3b-e4d507008998",
                            "serialNumber": 3,
                            "name": "隐患级别饼状图统计",
                            "code": "A74E34A4-FE2E-4856-AA3B-E4D507003997",
                            "url": "RisksManagement/Echarts/RiskLevelPieChart.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-e4d507003997"
                        },
                        //隐患管理-隐患统计-隐患趋势折线图统计
                        {
                            "parentId": "a74e34a4-fe2e-4856-aa3b-e4d507008998",
                            "serialNumber": 4,
                            "name": "隐患工厂饼状图统计",
                            "code": "A74E34A4-FE2E-4856-AA3B-E4D507003996",
                            "url": "RisksManagement/Echarts/RiskFactoryPieChart.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-e4d507003996"
                        },
                        //隐患管理-隐患统计-隐患趋势折线图统计
                        {
                            "parentId": "a74e34a4-fe2e-4856-aa3b-e4d507008998",
                            "serialNumber": 5,
                            "name": "隐患部门饼状图统计",
                            "code": "A74E34A4-FE2E-4856-AA3B-E4D507003995",
                            "url": "RisksManagement/Echarts/RiskDepartmentPieChart.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-e4d507003995"
                        },
                        //隐患管理-隐患统计-按承包商统计
                        {
                            "parentId": "a74e34a4-fe2e-4856-aa3b-e4d507008998",
                            "serialNumber": 6,
                            "name": "按承包商统计",
                            "code": "A74E34A4-FE2E-4856-AA3B-E4D507003994",
                            "url": "RisksManagement/Echarts/ContractorStatistics.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-e4d507003994"
                        },
                        //隐患管理-隐患统计-隐患整改率统计
                        {
                            "parentId": "a74e34a4-fe2e-4856-aa3b-e4d507008998",
                            "serialNumber": 6,
                            "name": "隐患整改率统计",
                            "code": "A74E34A4-FE2E-4856-AA3B-e4d137003994",
                            "url": "RisksManagement/Echarts/HiddenTroubleRectificationStatistics.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-e4d137003994"
                        },

                         //隐患管理-隐患统计-重复隐患统计
                         {
                            "parentId": "a74e34a4-fe2e-4856-aa3b-e4d507008998",
                            "serialNumber": 6,
                            "name": "重复隐患统计",
                            "code": "a74e34a4-fe2e-4856-aa3b-e4d134003994",
                            "url": "RisksManagement/Echarts/RepeatRiskPieChart.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a74e34a4-fe2e-4856-aa3b-e4d134003994"
                        },

                        {
                            "parentId": "58b88482-357d-4bf1-9675-8f725eaf7cf9",
                            "serialNumber": 1,
                            "name": "作业证类别维护",
                            "code": "5013CCC7-D7DC-41B4-8CF6-D0AB6EAFC53D",
                            "url": "JobSafetyManagement/OperationTypeMaintainList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "5013CCC7-D7DC-41B4-8CF6-D0AB6EAFC53D"
                        },
                        {
                            "parentId": "58b88482-357d-4bf1-9675-8f725eaf7cf9",
                            "serialNumber": 1,
                            "name": "作业基本信息配置",
                            "code": "A0AE0FD0-721E-461E-9F0C-B7DC22D60BC1",
                            "url": "JobSafetyManagement/BasicJobInformationList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "A0AE0FD0-721E-461E-9F0C-B7DC22D60BC1"
                        },
                        {
                            "parentId": "58b88482-357d-4bf1-9675-8f725eaf7cf9",
                            "serialNumber": 1,
                            "name": "作业许可证管理",
                            "code": "6fd885c1-1e0e-49c1-954f-16f34992c44b",
                            "url": null,
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "6fd885c1-1e0e-49c1-954f-16f34992c44b"
                        },
                        {
                            "parentId": "6fd885c1-1e0e-49c1-954f-16f34992c44b",
                            "serialNumber": 1,
                            "name": "作业许可证申请",
                            "code": "794e5464-e76b-418d-a7f5-08d6c1111111",
                            "url": "JobSafetyManagement/JobSafetyManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "794e5464-e76b-418d-a7f5-08d6c1111111"
                        },
                        {
                            "parentId": "6fd885c1-1e0e-49c1-954f-16f34992c44b",
                            "serialNumber": 1,
                            "name": "作业许可证审批",
                            "code": "794e5464-e76b-6601-a7f5-08d6c1111111",
                            "url": "JobLicenseApproval/JobSafetyManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "794e5464-e76b-6601-a7f5-08d6c1111111"
                        },

                        {
                            "parentId": "58b88482-357d-4bf1-9675-8f725eaf7cf9",
                            "serialNumber": 1,
                            "name": "JSA分析管理",
                            "code": "90b0425c-7555-4afc-8764-5e7b2b9b9e15",
                            "url": null,
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "90b0425c-7555-4afc-8764-5e7b2b9b9e15"
                        },

                        {
                            "parentId": "90b0425c-7555-4afc-8764-5e7b2b9b9e15",
                            "serialNumber": 1,
                            "name": "JSA分析申请",
                            "code": "C8C75101-D3DA-403B-A6D7-15A5FBBDCFA8",
                            "url": "JobSafetyManagement/JSPAnalyticalManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "C8C75101-D3DA-403B-A6D7-15A5FBBDCFA8"
                        },

                        {
                            "parentId": "90b0425c-7555-4afc-8764-5e7b2b9b9e15",
                            "serialNumber": 2,
                            "name": "JSA分析审批",
                            "code": "794e5464-e76b-6602-a7f5-08d6c1111111",
                            "url": "JobLicenseApproval/JSPAnalyticalManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "794e5464-e76b-6602-a7f5-08d6c1111111"
                        },

                        {
                            "parentId": "58b88482-357d-4bf1-9675-8f725eaf7cf9",
                            "serialNumber": 1,
                            "name": "安全作业方案管理",
                            "code": "ef52baa3-3aeb-4ad7-b93d-797c5a5d2dca",
                            "url": null,
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "ef52baa3-3aeb-4ad7-b93d-797c5a5d2dca"
                        },

                        {
                            "parentId": "ef52baa3-3aeb-4ad7-b93d-797c5a5d2dca",
                            "serialNumber": 1,
                            "name": "安全作业方案申请",
                            "code": "630E2578-5154-4336-9985-1E10AD0A5E23",
                            "url": "JobSafetyManagement/SafeOperationPlanList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "630E2578-5154-4336-9985-1E10AD0A5E23"
                        },
                        {
                            "parentId": "ef52baa3-3aeb-4ad7-b93d-797c5a5d2dca",
                            "serialNumber": 3,
                            "name": "安全作业方案审批",
                            "code": "794e5464-e76b-6603-a7f5-08d6c1111111",
                            "url": "JobLicenseApproval/SafeOperationPlanList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "794e5464-e76b-6603-a7f5-08d6c1111111"
                        },
                        {
                            "parentId": "58b88482-357d-4bf1-9675-8f725eaf7cf9",
                            "serialNumber": 4,
                            "name": "特殊作业票申请",
                            "code": "371967be-db83-4d01-b624-431781b3d704",
                            "url": "",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "371967be-db83-4d01-b624-431781b3d704"
                        },

                        //{
                        //    "parentId": "371967be-db83-4d01-b624-431781b3d704", "serialNumber": 1, "name": "一般吊装作业安全许可证管理",
                        //    "code": "650C9024-1CFB-4FFC-9D2B-CBD0B8C17FAB", "url": "", "type": 0, "icon": "fa fa-link",
                        //    "remarks": null, "id": "650C9024-1CFB-4FFC-9D2B-CBD0B8C17FAB"
                        //},
                        {
                            "parentId": "371967be-db83-4d01-b624-431781b3d704",
                            "serialNumber": 8,
                            "name": "一般吊装作业安全许可证",
                            "code": "26e01e4a-ac97-4194-b2f2-13c85407de3a",
                            "url": "ContractorManagement/TrainingRecordManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "26e01e4a-ac97-4194-b2f2-13c85407de3a"
                        },

                        {
                            "parentId": "26e01e4a-ac97-4194-b2f2-13c85407de3a",
                            "serialNumber": 1,
                            "name": "一般吊装作业安全许可证",
                            "code": "BB0C54C6-0764-4ED1-8144-5B2335200FC3",
                            "url": "JobSafetyManagement/GeneralLiftingWorkSafety/GeneralLiftingWorkSafetyList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "BB0C54C6-0764-4ED1-8144-5B2335200FC3"
                        },
                        {
                            "parentId": "26e01e4a-ac97-4194-b2f2-13c85407de3a",
                            "serialNumber": 1,
                            "name": "钢丝绳和吊钩检查表",
                            "code": "3AA9C14D-C136-475D-8A91-A2C973F4F7C9",
                            "url": "JobSafetyManagement/GeneralLiftingWorkSafety/WireRopeAndHookChecklist.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "3AA9C14D-C136-475D-8A91-A2C973F4F7C9"
                        },
                        {
                            "parentId": "26e01e4a-ac97-4194-b2f2-13c85407de3a",
                            "serialNumber": 1,
                            "name": "我的钢丝绳和吊钩检查表",
                            "code": "4D71C844-2DD4-4E0C-9EFB-10B229817A3F",
                            "url": "JobSafetyManagement/GeneralLiftingWorkSafety/MyWireRopeAndHookChecklist.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "4D71C844-2DD4-4E0C-9EFB-10B229817A3F"
                        },

                        {
                            "parentId": "26e01e4a-ac97-4194-b2f2-13c85407de3a",
                            "serialNumber": 1,
                            "name": "机械移动式起重机外观检查表",
                            "code": "37616190-0959-45a9-bf2d-2f807417b883",
                            "url": "JobSafetyManagement/GeneralLiftingWorkSafety/MechanicalMobileCraneAppearanceChecklist.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "37616190-0959-45a9-bf2d-2f807417b883"
                        },

                        {
                            "parentId": "26e01e4a-ac97-4194-b2f2-13c85407de3a",
                            "serialNumber": 1,
                            "name": "我的机械移动式起重机外观检查表",
                            "code": "A68E70C3-9D2E-4477-BA93-6FDA1738C848",
                            "url": "JobSafetyManagement/GeneralLiftingWorkSafety/MyMechanicalMobileCraneAppearanceChecklist.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "A68E70C3-9D2E-4477-BA93-6FDA1738C848"
                        },

                        {
                            "parentId": "26e01e4a-ac97-4194-b2f2-13c85407de3a",
                            "serialNumber": 1,
                            "name": "一般吊装作业方案检查表",
                            "code": "B51BC4B6-1901-4308-A02E-0F3877E155D7",
                            "url": "JobSafetyManagement/GeneralLiftingWorkSafety/WorkPlanChecklist.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "B51BC4B6-1901-4308-A02E-0F3877E155D7"
                        },

                        {
                            "parentId": "26e01e4a-ac97-4194-b2f2-13c85407de3a",
                            "serialNumber": 1,
                            "name": "我的一般吊装作业方案检查表",
                            "code": "B51BC4B6-1901-4308-A02E-0F3877E15000",
                            "url": "JobSafetyManagement/GeneralLiftingWorkSafety/MyWorkPlanChecklist.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "B51BC4B6-1901-4308-A02E-0F3877E15000"
                        },

                        {
                            "parentId": "371967be-db83-4d01-b624-431781b3d704",
                            "serialNumber": 1,
                            "name": "简易吊装作业安全许可证",
                            "code": "D8C9E693-F2DD-4A9A-8C3F-CEF77023A2ED",
                            "url": "JobSafetyManagement/SimpleLiftingOperation/SimpleLiftingOperationList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "D8C9E693-F2DD-4A9A-8C3F-CEF77023A2ED"
                        },
                        {
                            "parentId": "371967be-db83-4d01-b624-431781b3d704",
                            "serialNumber": 8,
                            "name": "动火作业安全许可证",
                            "code": "f58148f2-3828-4966-aa6a-12af8a96b68a",
                            "url": "ContractorManagement/TrainingRecordManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "f58148f2-3828-4966-aa6a-12af8a96b68a"
                        },

                        {
                            "parentId": "f58148f2-3828-4966-aa6a-12af8a96b68a",
                            "serialNumber": 1,
                            "name": "动火作业安全许可证",
                            "code": "1F58ACA4-94F4-4D10-9352-49BD3E405927",
                            "url": "JobSafetyManagement/HotWorkSafetyLicense/HotWorkSafetyLicenseList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "1F58ACA4-94F4-4D10-9352-49BD3E405927"
                        },

                        {
                            "parentId": "f58148f2-3828-4966-aa6a-12af8a96b68a",
                            "serialNumber": 1,
                            "name": "动火气体检测",
                            "code": "10AE9DFD-7052-4C64-B852-E365CA3A5B07",
                            "url": "JobSafetyManagement/HotWorkSafetyLicense/GasDetectionManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "10AE9DFD-7052-4C64-B852-E365CA3A5B07"
                        },

                        {
                            "parentId": "371967be-db83-4d01-b624-431781b3d704",
                            "serialNumber": 1,
                            "name": "动土作业安全许可证",
                            "code": "B88F93A4-6EBE-40CE-AA28-FCF97BF9C938",
                            "url": "JobSafetyManagement/EarthmovingWorkSafetyPermit/EarthmovingWorkSafetyPermitList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "B88F93A4-6EBE-40CE-AA28-FCF97BF9C938"
                        },

                        {
                            "parentId": "371967be-db83-4d01-b624-431781b3d704",
                            "serialNumber": 1,
                            "name": "断路作业安全许可证",
                            "code": "11E70F39-3A31-4C1B-B9CE-724A3F881121",
                            "url": "JobSafetyManagement/OpenCircuitSafetyPermit/OpenCircuitSafetyPermitList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "11E70F39-3A31-4C1B-B9CE-724A3F881121"
                        },
                        {
                            "parentId": "371967be-db83-4d01-b624-431781b3d704",
                            "serialNumber": 8,
                            "name": "高处作业安全许可证",
                            "code": "8e7808ab-7d57-4ae3-884b-9110d7f140ad",
                            "url": "ContractorManagement/TrainingRecordManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "8e7808ab-7d57-4ae3-884b-9110d7f140ad"
                        },

                        {
                            "parentId": "8e7808ab-7d57-4ae3-884b-9110d7f140ad",
                            "serialNumber": 1,
                            "name": "高处作业安全许可证",
                            "code": "B6C255FF-D1E7-4DD1-B859-6624702D9C09",
                            "url": "JobSafetyManagement/HighWorkSafetyPermit/HighWorkSafetyPermitList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "B6C255FF-D1E7-4DD1-B859-6624702D9C09"
                        },
                        {
                            "parentId": "8e7808ab-7d57-4ae3-884b-9110d7f140ad",
                            "serialNumber": 1,
                            "name": "脚手架检查表",
                            "code": "6887F507-76FF-4293-A487-6A5194233267",
                            "url": "JobSafetyManagement/HighWorkSafetyPermit/ScaffoldingChecklist.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "6887F507-76FF-4293-A487-6A5194233267"
                        },
                        {
                            "parentId": "371967be-db83-4d01-b624-431781b3d704",
                            "serialNumber": 1,
                            "name": "管线打开作业安全许可证",
                            "code": "BDCDED0C-0852-490E-AC92-A70514B7D8AA",
                            "url": "JobSafetyManagement/PipelineOpenOperationSafetyLicense/PipelineOpenOperationSafetyLicenseList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "BDCDED0C-0852-490E-AC92-A70514B7D8AA"
                        },
                        {
                            "parentId": "371967be-db83-4d01-b624-431781b3d704",
                            "serialNumber": 1,
                            "name": "上锁挂签清单",
                            "code": "03DCB6D5-29D6-4C4F-AD1E-D7C224EE3579",
                            "url": "JobSafetyManagement/PipelineOpenOperationSafetyLicense/LockedCheckList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "03DCB6D5-29D6-4C4F-AD1E-D7C224EE3579"
                        },
                        {
                            "parentId": "371967be-db83-4d01-b624-431781b3d704",
                            "serialNumber": 1,
                            "name": "上锁挂牵签字列表",
                            "code": "16C544B0-9F02-4FD2-94AD-EB8D395AC27A",
                            "url": "JobSafetyManagement/PipelineOpenOperationSafetyLicense/LockedCheckSignatureList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "16C544B0-9F02-4FD2-94AD-EB8D395AC27A"
                        },

                        {
                            "parentId": "371967be-db83-4d01-b624-431781b3d704",
                            "serialNumber": 1,
                            "name": "临电作业安全许可证",
                            "code": "25EA1191-1231-4E4E-B910-04CA5ADF120B",
                            "url": "JobSafetyManagement/TemporaryOperationSafetyLicense/TemporaryOperationSafetyLicenseList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "25EA1191-1231-4E4E-B910-04CA5ADF120B"
                        },
                        //{
                        //    "parentId": "371967be-db83-4d01-b624-431781b3d704", "serialNumber": 1, "name": "临电作业安全许可证管理",
                        //    "code": "25EA1191-1231-4E4E-B910-04CA5ADF120B", "url": "JobSafetyManagement/TemporaryOperationSafetyLicense/TemporaryOperationSafetyLicenseList.html",
                        //    "type": 0, "icon": "fa fa-link", "remarks": null, "id": "25EA1191-1231-4E4E-B910-04CA5ADF120B"
                        //},
                        {
                            "parentId": "371967be-db83-4d01-b624-431781b3d704",
                            "serialNumber": 8,
                            "name": "盲板抽堵作业安全许可证",
                            "code": "a1765565-e507-46d1-9659-91e9109ddafc",
                            "url": "ContractorManagement/TrainingRecordManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a1765565-e507-46d1-9659-91e9109ddafc"
                        },
                        {
                            "parentId": "a1765565-e507-46d1-9659-91e9109ddafc",
                            "serialNumber": 1,
                            "name": "盲板抽堵作业安全许可证",
                            "code": "8D23B14A-E25C-4FD4-9C32-5BB609CF0AEE",
                            "url": "JobSafetyManagement/BlindPlatePumpingSafety/BlindPlatePumpingSafetyList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "8D23B14A-E25C-4FD4-9C32-5BB609CF0AEE"
                        },
                        {
                            "parentId": "a1765565-e507-46d1-9659-91e9109ddafc",
                            "serialNumber": 1,
                            "name": "盲板信息管理",
                            "code": "32DD39D6-777D-4048-86D5-252414526ED1",
                            "url": "JobSafetyManagement/BlindPlatePumpingSafety/BlindBoardInformationList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "32DD39D6-777D-4048-86D5-252414526ED1"
                        },
                        {
                            "parentId": "a1765565-e507-46d1-9659-91e9109ddafc",
                            "serialNumber": 1,
                            "name": "隔离盲板动态管理状态记录表",
                            "code": "47396926-193E-4824-B9DE-11B6D080B0CE",
                            "url": "JobSafetyManagement/BlindPlatePumpingSafety/IsolationBlindTableList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "47396926-193E-4824-B9DE-11B6D080B0CE"
                        },
                        {
                            "parentId": "371967be-db83-4d01-b624-431781b3d704",
                            "serialNumber": 8,
                            "name": "受限空间作业安全许可证",
                            "code": "33a1cec6-5e77-4b8b-9063-e5dd4de27938",
                            "url": "ContractorManagement/TrainingRecordManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "33a1cec6-5e77-4b8b-9063-e5dd4de27938"
                        },
                        {
                            "parentId": "33a1cec6-5e77-4b8b-9063-e5dd4de27938",
                            "serialNumber": 1,
                            "name": "受限空间作业安全许可证",
                            "code": "A3D3AFAE-1F90-44D5-A319-5B5A4EB08816",
                            "url": "JobSafetyManagement/ConfinedSpaceWorkSafety/ConfinedSpaceWorkSafetyList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "A3D3AFAE-1F90-44D5-A319-5B5A4EB08816"
                        },
                        {
                            "parentId": "33a1cec6-5e77-4b8b-9063-e5dd4de27938",
                            "serialNumber": 1,
                            "name": "气体检测管理",
                            "code": "154140CC-EFD8-4510-806E-0C1253463D9C",
                            "url": "JobSafetyManagement/ConfinedSpaceWorkSafety/GasDetectionManagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "154140CC-EFD8-4510-806E-0C1253463D9C"
                        },
                        {
                            "parentId": "33a1cec6-5e77-4b8b-9063-e5dd4de27938",
                            "serialNumber": 1,
                            "name": "受限空间清单",
                            "code": "50EC92E4-002E-4909-9060-9D9897CC01A6",
                            "url": "JobSafetyManagement/JobLicenseApp/ConfinedSpaceTable.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "50EC92E4-002E-4909-9060-9D9897CC01A6"
                        },
                        {
                            "parentId": "33a1cec6-5e77-4b8b-9063-e5dd4de27938",
                            "serialNumber": 1,
                            "name": "受限空间信息管理",
                            "code": "50EC92E4-002E-4909-9060-9D9897CC0000",
                            "url": "JobSafetyManagement/ConfinedSpaceWorkSafety/ConfinedSpacemanagementList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "50EC92E4-002E-4909-9060-9D9897CC0000"
                        },
                        {
                            "parentId": "58b88482-357d-4bf1-9675-8f725eaf7cf9",
                            "serialNumber": 5,
                            "name": "特殊作业票审批",
                            "code": "371967be-db83-4d01-c001-431781b3d704",
                            "url": "",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "371967be-db83-4d01-c001-431781b3d704"
                        },
                        {
                            "parentId": "371967be-db83-4d01-c001-431781b3d704",
                            "serialNumber": 4,
                            "name": "一般吊装作业安全许可证",
                            "code": "794e5464-e76b-6604-a7f5-08d6c1111111",
                            "url": "JobLicenseApproval/GeneralLiftingWorkSafetyList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "794e5464-e76b-6604-a7f5-08d6c1111111"
                        },

                        //{
                        //    "parentId": "371967be-db83-4d01-c001-431781b3d704",
                        //    "serialNumber": 4,
                        //    "name": "一般吊装作业方案检查表",
                        //    "code": "47dfef30-0d29-4f14-a582-592aa91b0d5b",
                        //    "url": "",
                        //    "type": 0,
                        //    "icon": "fa fa-link",
                        //    "remarks": null,
                        //    "id": "47dfef30-0d29-4f14-a582-592aa91b0d5b"
                        //},
                        {
                            "parentId": "371967be-db83-4d01-c001-431781b3d704",
                            "serialNumber": 5,
                            "name": "简易吊装作业安全许可证",
                            "code": "794e5464-e76b-6605-a7f5-08d6c1111111",
                            "url": "JobLicenseApproval/SimpleLiftingOperationList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "794e5464-e76b-6605-a7f5-08d6c1111111"
                        },

                        {
                            "parentId": "371967be-db83-4d01-c001-431781b3d704",
                            "serialNumber": 6,
                            "name": "动火作业安全许可证",
                            "code": "794e5464-e76b-6606-a7f5-08d6c1111111",
                            "url": "JobLicenseApproval/HotWorkSafetyLicenseList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "794e5464-e76b-6606-a7f5-08d6c1111111"
                        },
                        {
                            "parentId": "371967be-db83-4d01-c001-431781b3d704",
                            "serialNumber": 7,
                            "name": "动土作业安全许可证",
                            "code": "794e5464-e76b-6607-a7f5-08d6c1111111",
                            "url": "JobLicenseApproval/EarthmovingWorkSafetyPermitList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "794e5464-e76b-6607-a7f5-08d6c1111111"
                        },
                        {
                            "parentId": "371967be-db83-4d01-c001-431781b3d704",
                            "serialNumber": 8,
                            "name": "断路作业安全许可证",
                            "code": "794e5464-e76b-6608-a7f5-08d6c1111111",
                            "url": "JobLicenseApproval/OpenCircuitSafetyPermitList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "794e5464-e76b-6608-a7f5-08d6c1111111"
                        },
                        {
                            "parentId": "371967be-db83-4d01-c001-431781b3d704",
                            "serialNumber": 9,
                            "name": "高处作业安全许可证",
                            "code": "794e5464-e76b-6609-a7f5-08d6c1111111",
                            "url": "JobLicenseApproval/HighWorkSafetyPermitList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "794e5464-e76b-6609-a7f5-08d6c1111111"
                        },
                        {
                            "parentId": "371967be-db83-4d01-c001-431781b3d704",
                            "serialNumber": 10,
                            "name": "管线打开作业安全许可证",
                            "code": "794e5464-e76b-6610-a7f5-08d6c1111111",
                            "url": "JobLicenseApproval/PipelineOpenOperationSafetyLicenseList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "794e5464-e76b-6610-a7f5-08d6c1111111"
                        },
                        {
                            "parentId": "371967be-db83-4d01-c001-431781b3d704",
                            "serialNumber": 11,
                            "name": "临电作业安全许可证",
                            "code": "794e5464-e76b-6611-a7f5-08d6c1111111",
                            "url": "JobLicenseApproval/TemporaryOperationSafetyLicenseList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "794e5464-e76b-6611-a7f5-08d6c1111111"
                        },
                        {
                            "parentId": "371967be-db83-4d01-c001-431781b3d704",
                            "serialNumber": 12,
                            "name": "盲板抽堵作业安全许可证",
                            "code": "794e5464-e76b-6612-a7f5-08d6c1111111",
                            "url": "JobLicenseApproval/BlindPlatePumpingSafetyList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "794e5464-e76b-6612-a7f5-08d6c1111111"
                        },
                        {
                            "parentId": "371967be-db83-4d01-c001-431781b3d704",
                            "serialNumber": 13,
                            "name": "受限空间作业安全许可证",
                            "code": "794e5464-e76b-6613-a7f5-08d6c1111111",
                            "url": "JobLicenseApproval/ConfinedSpaceWorkSafetyList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "794e5464-e76b-6613-a7f5-08d6c1111111"
                        },
                        {
                            "parentId": "58b88482-357d-4bf1-9675-8f725eaf7cf9",
                            "serialNumber": 1,
                            "name": "安全交底和风险告知确认卡",
                            "code": "a2b423c8-673d-4d78-ac1f-dc0d967901e1",
                            "url": null,
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "a2b423c8-673d-4d78-ac1f-dc0d967901e1"
                        },
                        {
                            "parentId": "a2b423c8-673d-4d78-ac1f-dc0d967901e1",
                            "serialNumber": 1,
                            "name": "安全交底和风险告知确认卡填写",
                            "code": "24601328-1DA0-45BF-BB1A-6C59C03F633E",
                            "url": "JobSafetyManagement/SecurityAndRiskConfirmationCard/SecurityAndRiskConfirmationCardList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "24601328-1DA0-45BF-BB1A-6C59C03F633E"
                        },
                        //{
                        //    "parentId": "a2b423c8-673d-4d78-ac1f-dc0d967901e1",
                        //    "serialNumber": 1,
                        //    "name": "安全交底和风险告知确认卡确认",
                        //    "code": "19f59d9e-3d3f-40dc-9d3b-91634ef34fd0",
                        //    "url": "",
                        //    "type": 0,
                        //    "icon": "fa fa-link",
                        //    "remarks": null,
                        //    "id": "19f59d9e-3d3f-40dc-9d3b-91634ef34fd0"
                        //},
                        {
                            "parentId": "58b88482-357d-4bf1-9675-8f725eaf7cf9",
                            "serialNumber": 1,
                            "name": "特种作业安全教育",
                            "code": "468b633a-7ccf-48c6-afd0-073d645241ae",
                            "url": null,
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "468b633a-7ccf-48c6-afd0-073d645241ae"
                        },
                        {
                            "parentId": "468b633a-7ccf-48c6-afd0-073d645241ae",
                            "serialNumber": 1,
                            "name": "特种作业安全教育培训记录填写",
                            "code": "D007E0B1-EB3C-495F-A50B-420E53A84A51",
                            "url": "JobSafetyManagement/SpecialOperationSafetyEducation/SpecialOperationSafetyEducationList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "D007E0B1-EB3C-495F-A50B-420E53A84A51"
                        },
                        {
                            "parentId": "468b633a-7ccf-48c6-afd0-073d645241ae",
                            "serialNumber": 1,
                            "name": "特种教育签字审批列表",
                            "code": "7DE43909-6D1B-4A15-89C5-05248284D37D",
                            "url": "JobSafetyManagement/SpecialOperationSafetyEducation/SpecialOperationSafetyEducationSignatureList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "7DE43909-6D1B-4A15-89C5-05248284D37D"
                        },
                        //{
                        //    "parentId": "468b633a-7ccf-48c6-afd0-073d645241ae",
                        //    "serialNumber": 1,
                        //    "name": "特种作业安全教育培训记录确认",
                        //    "code": "b5599afb-662f-404c-b570-170750c12674",
                        //    "url": "",
                        //    "type": 0,
                        //    "icon": "fa fa-link",
                        //    "remarks": null,
                        //    "id": "b5599afb-662f-404c-b570-170750c12674"
                        //},
                        {
                            "parentId": "58b88482-357d-4bf1-9675-8f725eaf7cf9",
                            "serialNumber": 1,
                            "name": "作业许可证取消",
                            "code": "7aa9e380-67f7-4556-ae7c-bf3df89ed4b6",
                            "url": null,
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "7aa9e380-67f7-4556-ae7c-bf3df89ed4b6"
                        },
                        {
                            "parentId": "7aa9e380-67f7-4556-ae7c-bf3df89ed4b6",
                            "serialNumber": 1,
                            "name": "作业许可证取消申请",
                            "code": "A95411E7-F5A5-4505-B7B7-D3E8A54AD127",
                            "url": "JobSafetyManagement/JobPermitCancellation/JobPermitCancellationList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "A95411E7-F5A5-4505-B7B7-D3E8A54AD127"
                        },
                        {
                            "parentId": "7aa9e380-67f7-4556-ae7c-bf3df89ed4b6",
                            "serialNumber": 1,
                            "name": "作业许可证取消处理",
                            "code": "079B6310-34A3-4DBF-B83A-AE4850704030",
                            "url": "JobSafetyManagement/JobPermitCancellation/JobPermitCancellationApprovalList.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "079B6310-34A3-4DBF-B83A-AE4850704030"
                        },
                        {
                            "parentId": "12913f0f-3c3f-4ceb-8ba5-99ab264ed3e1",
                            "serialNumber": 0,
                            "name": "铜陵工厂",
                            "code": "5040afb0-c38e-463b-953c-8605091be009",
                            "url": "map/TonglingMap.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "5040afb0-c38e-463b-953c-8605091be009"
                        },
                        {
                            "parentId": "12913f0f-3c3f-4ceb-8ba5-99ab264ed3e1",
                            "serialNumber": 0,
                            "name": "山东工厂",
                            "code": "85a65e19-182e-4306-8328-221b694d2007",
                            "url": "map/SanDongShengAoMap.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "85a65e19-182e-4306-8328-221b694d2007"
                        },
                        {
                            "parentId": "12913f0f-3c3f-4ceb-8ba5-99ab264ed3e1",
                            "serialNumber": 0,
                            "name": "泰安工厂",
                            "code": "3439c014-74ac-40c5-abd7-a3a668118715",
                            "url": "map/huayangmap.html",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "3439c014-74ac-40c5-abd7-a3a668118715"
                        },
                        {
                            "parentId": "515cddb8-981e-43b2-b401-04ec961a0be4",
                            "serialNumber": 1,
                            "name": "角色管理",
                            "code": "Role_Index",
                            "url": "/role/index",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "47747776-6dd4-4072-a7d9-08d6c16c9daf"
                        },
                        {
                            "parentId": "515cddb8-981e-43b2-b401-04ec961a0be4",
                            "serialNumber": 3,
                            "name": "功能管理",
                            "code": "Menu_Index",
                            "url": "/Menu/index",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "3c4cddf3-0540-4761-a7db-08d6c16c9daf"
                        },
                        {
                            "parentId": "515cddb8-981e-43b2-b401-04ec961a0be4",
                            "serialNumber": 2,
                            "name": "用户管理",
                            "code": "UserController_Index",
                            "url": "/user/index",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "9a4e5269-c26a-4562-a7da-08d6c16c9daf"
                        }, {
                            "parentId": "515cddb8-981e-43b2-b401-04ec961a0be4",
                            "serialNumber": 0,
                            "name": "组织机构管理",
                            "code": "Department_Index",
                            "url": "/Department/index",
                            "type": 0,
                            "icon": "fa fa-link",
                            "remarks": null,
                            "id": "de4044bf-3cd3-4366-a7d8-08d6c16c9daf"
                        },
                    ]
                }
            });
            break;
            //case '/api/Account/GetMenu': Mock.mock(host + url, type, { "result": "Success", "message": null, "data": [ { "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 0, "name": "操作程序", "code": "794e5464-e76b-418d-a7f5-08d6c16c0000", "url": "RiskControlInformationDatabase/OperatingProceduresList.html", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "794e5464-e76b-418d-a7f5-08d6c16c0000" }, { "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 0, "name": "作业许可证申请", "code": "794e5464-e76b-418d-a7f5-08d6c16c0001", "url": "JobSafetyManagement/JobPermitApplication.html", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "794e5464-e76b-418d-a7f5-08d6c16c0001" }, { "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 0, "name": "顶级菜单", "code": "Department", "url": null, "type": 0, "icon": "fa fa-link", "remarks": null, "id": "00000000-0000-0000-0000-000000000000" }, { "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 1, "name": "许可证管理", "code": "794e5464-e76b-418d-a7f5-08d6c1111111", "url": "JobSafetyManagement/JobSafetyManagementList.html", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "794e5464-e76b-418d-a7f5-08d6c1111111" }, { "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 0, "name": "组织机构管理", "code": "Department_Index", "url": "/Department/index", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "de4044bf-3cd3-4366-a7d8-08d6c16c9daf" }, { "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 1, "name": "作业活动", "code": "794e5464-e76b-418d-a7f5-08d6c16c1111", "url": "RiskControlInformationDatabase/WorkAtivitiesList.html", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "794e5464-e76b-418d-a7f5-08d6c16c1111" }, { "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 1, "name": "检维修作业活动", "code": "794e5464-e76b-418d-a7f5-08d6c16c4444", "url": "RiskControlInformationDatabase/InspectionMaintenanceActivitiesList.html", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "794e5464-e76b-418d-a7f5-08d6c16c4444" }, { "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 1, "name": "设备设施", "code": "794e5464-e76b-418d-a7f5-08d6c16c5555", "url": "RiskControlInformationDatabase/EquipmenFacilitiesList.html", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "794e5464-e76b-418d-a7f5-08d6c16c5555" }, { "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 1, "name": "设工艺介质", "code": "794e5464-e76b-418d-a7f5-08d6c16c6666", "url": "RiskControlInformationDatabase/ProcessMediumList.html", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "794e5464-e76b-418d-a7f5-08d6c16c6666" }, { "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 1, "name": "场所环境", "code": "794e5464-e76b-418d-a7f5-08d6c16c7777", "url": "RiskControlInformationDatabase/PlaceEnvironmentList.html", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "794e5464-e76b-418d-a7f5-08d6c16c7777" }, { "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 1, "name": "风险类别管理", "code": "794e5464-e76b-418d-a7f5-08d6c16c8888", "url": "RiskControlInformationDatabase/RiskCategoryManagementList.html", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "794e5464-e76b-418d-a7f5-08d6c16c8888" }, { "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 1, "name": "角色管理", "code": "Role_Index", "url": "/role/index", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "47747776-6dd4-4072-a7d9-08d6c16c9daf" }, { "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 2, "name": "操作及相关作业活动", "code": "794e5464-e76b-418d-a7f5-08d6c16c2222", "url": "RiskControlInformationDatabase/OperationRelatedActivitiesList.html", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "794e5464-e76b-418d-a7f5-08d6c16c2222" }, { "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 2, "name": "用户管理", "code": "UserController_Index", "url": "/user/index", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "9a4e5269-c26a-4562-a7da-08d6c16c9daf" }, { "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 3, "name": "功能管理", "code": "Menu_Index", "url": "/Menu/index", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "3c4cddf3-0540-4761-a7db-08d6c16c9daf" }, , { "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 7, "name": "功能管理5", "code": "Menu_Index5", "url": "Education/UserList.html", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "3c4cddf3-0540-4761-a7db-08d6c16c9da5" }, { "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 7, "name": "功能管理6", "code": "Menu_Index6", "url": "Education/UserList.html", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "3c4cddf3-0540-4761-a7db-08d6c16c9da6" }, { "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 7, "name": "功能管理7", "code": "Menu_Index7", "url": "Education/UserList.html", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "3c4cddf3-0540-4761-a7db-08d6c16c9da7" }, { "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 7, "name": "功能管理8", "code": "Menu_Index8", "url": "Education/UserList.html", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "3c4cddf3-0540-4761-a7db-08d6c16c9da8" }, { "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 7, "name": "功能管理9", "code": "Menu_Index9", "url": "Education/UserList.html", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "3c4cddf3-0540-4761-a7db-08d6c16c9da9" }] }); break;
            ////{ "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 4, "name": "测试1", "code": "test1", "url": "Education/UserList.html", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "4b94cf43-8fe2-4786-35ce-08d6bedd5511" }
            ////{ "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 5, "name": "echarts", "code": "test2", "url": "test/echarts.html", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "4b94cf43-8fe2-4786-35ce-08d6bedd5522" }, { "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 6, "name": "ueditor", "code": "Menu_Index1", "url": "test/ueditor.html", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "3c4cddf3-0540-4761-a7db-08d6c16c9da1" }, { "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 7, "name": "文件上传", "code": "Menu_Index2", "url": "test/fileupload.html", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "3c4cddf3-0540-4761-a7db-08d6c16c9da2" }, { "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 7, "name": "树", "code": "Menu_Index3", "url": "test/tree.html", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "3c4cddf3-0540-4761-a7db-08d6c16c9da3" }, { "parentId": "00000000-0000-0000-0000-000000000000", "serialNumber": 7, "name": "下拉树", "code": "Menu_Index4", "url": "test/downtree.html", "type": 0, "icon": "fa fa-link", "remarks": null, "id": "3c4cddf3-0540-4761-a7db-08d6c16c9da4" }
            ////登陆模拟

        case '/api/Account/Login':
            Mock.mock(host + url, type, function (options) {
                var p = JSON.parse(options.body);

                if (p.LoginName === "admin" && p.Password === "123456") {
                    return {
                        result: "Success",
                        message: null,
                        data: null
                    };
                } else {
                    return {
                        result: "Error",
                        message: "用户名密码错误！",
                        data: null
                    };
                }

            });
            break;

    }
}

//扁平化数据处理成树形数据
function fn(data, pid) {

    var result = [],
        temp;
    for (var i = 0; i < data.length; i++) {
        if (data[i].pid == pid) {
            var obj = {
                "label": data[i].name,
                "id": data[i].id,
                "icon": 'tree-item'
            };
            temp = this.fn(data, data[i].id);
            if (temp.length > 0) {
                obj.children = temp;
                obj.icon = 'tree-open';
            }
            result.push(obj);
        }
    }
    console.log(result)
    return result;
}


//扁平化数据处理成树形数据
function fn1(data, pid) {
    var result = [],
        temp;
    for (var i = 0; i < data.length; i++) {
        if (data[i].pid == pid) {
            var obj = {
                "id": data[i].id,
                "ProductionActivityName": data[i].name,
                "Code": data[i].code,
                "remarks": data[i].remarks,
                "icon": 'tree-item'
            };
            temp = this.fn1(data, data[i].id);
            if (temp.length > 0) {
                obj.children = temp;
                obj.icon = 'tree-open';
            }
            result.push(obj);
        }
    }
    return result;
}

//扁平化数据处理成树形数据
function fnCommon(data, pid) {
    var result = [],
        temp;
    data.forEach(function (v, i) {
        if (v.pid == pid) {
            var obj = {};
            for (var key in v) {
                obj[key] = v[key];
            }
            obj.icon = 'tree-item';
            temp = this.fnCommon(data, data[i].id);
            if (temp.length > 0) {
                obj.children = temp;
                obj.icon = 'tree-open';
            }
            result.push(obj);
        }
    })
    return result
}

//附件上传统一处理
function submitUpload(mythis, url) {
    myAjax("post", this, url, null,
        function (response) {
            console.log(response.message)
            showMessage(response.message, 'success')
        });

}

function GetQueryString(url, name) {
    var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
    var r = window.location.search.substr(1).match(reg);
    if (r != null) return unescape(r[2]);
    return null;
}